TLDR Web Dev · QUICK LINKS

PROVIDING TYPE DEFINITIONS FOR CSS WITH @PROPERTY

moderncss.dev15 min read

Summary from the TLDR Web Dev newsletter

The @property at-rule in CSS allows defining custom properties with specific types, inheritance, and initial values, improving custom property reliability by preventing unexpected behavior caused by invalid values.