Day 84: the @property at-rule

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
The @property rule allows you to register custom properties.You can already define custom properties, but the difference between defining and registering is that the at-rule allows you to specify the type and other attributes. @property --hue { /* The type. */ syntax: ''; /* Is it an inhertiable property? */ inherits: false; /* The...