More properties, val i.o. fun

This commit is contained in:
2020-03-22 16:40:18 +01:00
parent 7a92e53006
commit 2bf19fd647
75 changed files with 1121 additions and 614 deletions

View File

@@ -52,7 +52,7 @@ private fun generateCss(
}
select("li") {
sizePX(25, 25, 200, 200)
animationPlayState(AnimationPlayState.paused(), AnimationPlayState.running())
animationPlayState(AnimationPlayState.paused, AnimationPlayState.running)
select("a") {
// width = px(725)
@@ -80,12 +80,16 @@ fun main() {
val sd = style {
select("#pipo") {
backgroundColor(hex("ffeedd"))
`fontFamily`("Arial, Courier")
fontFamily("Arial, Courier")
// backgroundColor = Color.hex("eeeeee")
// fontFamily = text("Arial, Courier")
// animationDelay = listOf(DelayDuration.initial())
select("div") {
tableLayout(TableLayout.auto)
tabSize(14.px())
// color = Color.hex("1b1b1b1")
// alignContent = AlignContent.flexStart()
// animationName = listOf(text("foo"), text("bar"))