Is it possible to implement this in type-safe CSS?...
# tornadofx
a
Is it possible to implement this in type-safe CSS?
.paragraph-box:has-caret { -fx-background-color: #f2f9fc; }
I tried like this but it doesn't seem to work
Copy code
companion object {
        private val paragraphBox by cssclass("paragraph-box")
    }
    init {
        paragraphBox {
            and("has-caret") {
                backgroundColor = multi(c("#f2f9fc"))
            }
        }