More properties, val i.o. fun
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user