staticStyle

fun staticStyle(css: String)

adds some static css to your app's dynamic style sheet.

Parameters

css

well formed content of the css-rule to add

fun staticStyle(name: String, css: String): StyleClass

adds a static css-class to your app's dynamic style sheet.

Return

the name of the created class

Parameters

css

well formed content of the css-rule to add

name

of the class to create

fun staticStyle(name: String, styling: BoxParams.() -> Unit): StyleClass

adds a static css-class to your app's dynamic style sheet.

Return

the name of the created class

Parameters

name

of the class to create

styling

styling DSL expression