File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ It basically does the same thing as https://github.com/JetBrains/kotlin-wrappers
9
9
10
10
In addition to regular element style, it allows you to style children and pseudo-classes.
11
11
12
+ **IMPORTANT** : You should only use `css` for **immutable** style.
13
+ As a new CSS class is generated every time the content changes, you should use `style` for changing style.
14
+
15
+
12
16
== Install
13
17
14
18
.build.gradle.kts
@@ -19,6 +23,7 @@ dependencies {
19
23
}
20
24
----
21
25
26
+
22
27
== Example
23
28
24
29
Have a look at that example:
@@ -51,6 +56,3 @@ fun ColoredDiv(text: String) {
51
56
<1> Basic style
52
57
<2> Self + pseudo-class
53
58
<3> Children
54
-
55
- You should only use `css` for "immutable" style.
56
- As a new CSS class is generated every time the content changes, you should use `css` for regularly changing style.
You can’t perform that action at this time.
0 commit comments