Home | Notifications | New Note | Local | Federated | Search | Logout
yuanchuan@yuanchuan@vis.social
Keep it simple, sweetie.
Website: https://yuanchuan.dev
css-doodle: https://css-doodle.com/@yuanchuan
Joined: 2026-10-15 23:37:31
3 notes, 0 following, 0 followers
yuanchuan@yuanchuan@vis.social (2026-10-22 13:28:13)
Experiment: The Tokyo 2020 Olympics logo
---Attachments---
image: https://cdn.masto.host/vissocial/media_attachments/files/117/482/664/960/620/391/original/62561bdb60402057.png
image: https://cdn.masto.host/vissocial/media_attachments/files/117/482/652/243/739/630/original/081e0da47b21cfac.png
image: https://cdn.masto.host/vissocial/media_attachments/files/117/482/651/678/784/577/original/62fa0695d55894f1.webp
Reply to @cheeaun@mastodon.social
yuanchuan@yuanchuan@vis.social (2026-10-15 23:38:30)
@cheeaun Yes!
--double(x) is not a valid variable name in CSS though
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.