diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-25 11:38:01 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-25 11:38:01 +0530 |
| commit | f7ea49c88717c0c15835c9024c84a95678836a30 (patch) | |
| tree | 0eb5f9eac3729fec96c7257df24cde416efbdb46 /examples | |
| parent | 8a987f6c3cffd37437adca6c133fab989233a308 (diff) | |
| download | css-everything-f7ea49c88717c0c15835c9024c84a95678836a30.tar.gz css-everything-f7ea49c88717c0c15835c9024c84a95678836a30.zip | |
refactor: refactors declarations
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/form/signup.css | 11 | ||||
| -rw-r--r-- | examples/todo-list/style.css | 8 |
2 files changed, 10 insertions, 9 deletions
diff --git a/examples/form/signup.css b/examples/form/signup.css index 2335334..5dfb8f6 100644 --- a/examples/form/signup.css +++ b/examples/form/signup.css @@ -39,7 +39,16 @@ remove-class(form, 'submitting') ; - --cssx-children: input#input-email input#input-password #actions #message; + --cssx-children: + input#input-email + input#input-password + #actions + h(#message[data-attr="wiow"], map(--wow: "wow"), + div#wow + div#yay + h(div#yay, map(--wow: "wow")) + ) + ; } #form.submitted #message::after { display: block; diff --git a/examples/todo-list/style.css b/examples/todo-list/style.css index cda7003..66ec5f0 100644 --- a/examples/todo-list/style.css +++ b/examples/todo-list/style.css @@ -18,14 +18,6 @@ body * { box-sizing: border-box; } border-radius: 5px; overflow: hidden; - /* --my-func: */ - /* js-eval(get-var(--js)) */ - /* delay(1s) */ - /* call(--my-func, map(--js: get-var(--js))) */ - /* ; */ - /**/ - /* --cssx-on-mount: call(--my-func, map(--js: "console.log(`yay`)")); */ - --cssx-children: form#task-input-form #task-list; } |
