https://kotlinlang.org logo
r

Ruckus

03/10/2017, 11:06 PM
and()
is for combining them, so
Copy code
content_box {
    and(button) {
        backgroundColor += c("transparent")
    }
}
would become
Copy code
/* No space, this applies to elements with both classes, not buttons inside content boxes */
.content_box.button {
    -fx-background-color: none;
}