diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-11 23:06:57 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-11 23:08:16 +0530 |
| commit | ca80dee29014298bd8a1a82bd0418cc073a76316 (patch) | |
| tree | 70607817c0b27738eeb91b954aa5656adc2a311e /examples/syntax-ideas.css | |
| parent | b4548ce257c301154a39f5296387c2a72c552e70 (diff) | |
| download | css-everything-ca80dee29014298bd8a1a82bd0418cc073a76316.tar.gz css-everything-ca80dee29014298bd8a1a82bd0418cc073a76316.zip | |
test: adds test for simple signup page example
Diffstat (limited to '')
| -rw-r--r-- | examples/syntax-ideas.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/syntax-ideas.css b/examples/syntax-ideas.css index 08ed310..bdae5b4 100644 --- a/examples/syntax-ideas.css +++ b/examples/syntax-ideas.css @@ -1,4 +1,3 @@ - body { --cssx-children: element-1 element-2 element-3; } @@ -7,9 +6,11 @@ body { --cssx-on-click: js-eval('alert("clicked")'); } #element-2 { - --from-variable: "is here"; + --from-variable: 'is here'; +} +#element-2::after { + content: 'My content: ' var(--from-variable); } -#element-2::after { content: "My content: " var(--from-variable); } #element-3 { --cssx-on-click: js-eval('alert("clicked")'); |
