diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/todo-list/style.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/todo-list/style.css b/examples/todo-list/style.css index cda7003..ed9875c 100644 --- a/examples/todo-list/style.css +++ b/examples/todo-list/style.css @@ -18,6 +18,10 @@ body * { box-sizing: border-box; } border-radius: 5px; overflow: hidden; + --some-str: "Hello"; + + --cssx-on-mount: js-eval(string("alert('", quotify(get-var(--some-str)), "')")); + /* --my-func: */ /* js-eval(get-var(--js)) */ /* delay(1s) */ |
