diff --git a/examples/web_grid_animation/src/jsMain/kotlin/com/sample/Main.kt b/examples/web_grid_animation/src/jsMain/kotlin/com/sample/Main.kt index 759b3b9959..2cbfa7bac7 100644 --- a/examples/web_grid_animation/src/jsMain/kotlin/com/sample/Main.kt +++ b/examples/web_grid_animation/src/jsMain/kotlin/com/sample/Main.kt @@ -48,6 +48,11 @@ object AppStyleSheet: StyleSheet() { paddingBottom(86.66.percent) } + + "li:nth-child(2n-1)" style { + property("grid-column-start", 2) + } + "div" style { position(Position.Absolute) width(50.percent) @@ -140,7 +145,6 @@ object AppStyleSheet: StyleSheet() { property("grid-column-start", "2") } - } } } diff --git a/examples/web_grid_animation/src/jsMain/resources/app.css b/examples/web_grid_animation/src/jsMain/resources/app.css index 56562f3fa0..b454f64e44 100644 --- a/examples/web_grid_animation/src/jsMain/resources/app.css +++ b/examples/web_grid_animation/src/jsMain/resources/app.css @@ -10,9 +10,6 @@ body{ font-family: 'Open Sans Condensed', sans-serif; } -li:nth-child(2n-1){ - grid-column-start:2; -} @media (min-width:600px){ :root {