Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


yuanchuan@yuanchuan@vis.social (2026-10-15 23:35:24)
I finally added function to css-doodle, with the syntax I think is shortest:

--double(x): $(x * 2);

A variable-like structure but with () is treated as a function, Somehow I with CSS supports this natively.
Reply

---Replies---
Chee Aun 🤔@cheeaun@mastodon.social (2026-10-15 23:37:22)
@yuanchuan this? https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@function