css

fun css(block: CssBuilder.() -> Unit)

Append CSS (declared via Kotlin's CSS DSL) to this presentation's stylesheet. Can be placed anywhere inside the presentation{} block — unlike raw HTML, CSS does not have to appear at the top.


CSS scoped to this presentation, seeded from KSlides.css. Appended via the css DSL block or css += "..." / css += { ... }.