companion object { val editor by cssclass() val toolbox by cssclass() val toggleBtn by cssclass("toggle-button") } //not working s(editor) { s(toolbox) { s(toggleButton) { backgroundInsets = multi(box(0.px), box(1.px), box(2.px)) backgroundRadius = multi(box(3.px), box(2.px), box(1.px)) } } } //working s(editor) { s(toolbox) { s(toggleBtn) { backgroundInsets = multi(box(0.px), box(1.px), box(2.px)) backgroundRadius = multi(box(3.px), box(2.px), box(1.px)) } } }