altavir
12/27/2023, 12:23 PMbefore
block. I am writing the following code in a stylesheet:
public val treeCaretDown: String by style {
before {
content("\u25B6")
color(Color.black)
display(DisplayStyle.InlineBlock)
marginRight(6.px)
transform { rotate(90.deg) }
}
}
But before
block is missing in the final CSS. Am I doing something wrong?Alexander Zhirkevich
12/27/2023, 12:36 PM(self + hover) {
//....
(self + before) {
//....
}
}
Alexander Zhirkevich
12/27/2023, 12:38 PMaltavir
12/27/2023, 12:40 PMaltavir
12/27/2023, 12:40 PMbefore
is a CssSelector and it has invoke method, but it is invoked in a wrong scopeAlexander Zhirkevich
12/27/2023, 12:41 PM