You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+18-3
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@
8
8
Boldly go where no CSS author has gone before...
9
9
10
10
Here's a taster:
11
-
12
11
```
13
12
#clickMe:click {
14
13
body {
@@ -17,6 +16,22 @@ Here's a taster:
17
16
}
18
17
```
19
18
19
+
Example of a component (because you love components):
20
+
```
21
+
button:click {
22
+
render-after-end: "<hello-world></hello-world>";
23
+
}
24
+
25
+
@component hello-world private {
26
+
html {
27
+
<p>Hello world</p>
28
+
}
29
+
p:click {
30
+
alert: "Why are you clicking me, you crazy!";
31
+
}
32
+
}
33
+
```
34
+
20
35
Ultra-fast. No pre-processing. No virtual DOM. Runs in real-time in the browser.<br>
21
36
All DOM events are supported, plus CSS commands up to level 4 (if browser supported).<br>
22
37
Works on chromium browsers (Chrome, Edge, Opera, etc.) and Firefox. (ES6+)
@@ -30,10 +45,10 @@ The Active CSS installation instructions are [on the website](https://activecss.
30
45
If you are looking for the core script to download, check out the [dist](https://github.com/Active-CSS/active-css/tree/master/dist) folder and then find the version(s) you need.
31
46
32
47
The production (live) version will look like this:<br>
33
-
activecss-2-9-1.min.js
48
+
activecss-2-10-0.min.js
34
49
35
50
The development (offline) version will look like this:<br>
36
-
activecss-dev-2-9-1.min.js
51
+
activecss-dev-2-10-0.min.js
37
52
38
53
There are also npm versions - links on the website.
0 commit comments