[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1796141288551.jpg (62.82 KB, 940x356, img_1796141279144_y1rk95co.jpg)ImgOps Exif Google Yandex

19cf7 No.2568

finally got firefox to support css. registerProperty so i don't have to deal with broken transitions anymore. it's such a pain when you're trying to interpolate a value and the browser just treats it like a string because it doesn't know the syntax.
>An unregistered custom property is just a bag.
i'm still not sure if i want to bother with the boilerplate for every single variable or if it's worth the extra typing.

--brand-color {  syntax: "<color>";  inherits: true;  initial-value: rebeccapurple;}


do you guys actually use the syntax property for everything or just when animations fail?

https://blog.master.dev/is-declaring-types-for-css-custom-properties-with-property-a-best-practice/


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]