Skip to content

Commit 764dc71

Browse files
authored
Update Readme.adoc
1 parent ef7eda9 commit 764dc71

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Readme.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ It basically does the same thing as https://github.com/JetBrains/kotlin-wrappers
99

1010
In addition to regular element style, it allows you to style children and pseudo-classes.
1111

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+
1216
== Install
1317

1418
.build.gradle.kts
@@ -19,6 +23,7 @@ dependencies {
1923
}
2024
----
2125

26+
2227
== Example
2328

2429
Have a look at that example:
@@ -51,6 +56,3 @@ fun ColoredDiv(text: String) {
5156
<1> Basic style
5257
<2> Self + pseudo-class
5358
<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.

0 commit comments

Comments
 (0)