TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

PROPERTY: NEXT-GEN CSS VARIABLES NOW WITH UNIVERSAL BROWSER SUPPORT

web.dev4 min read

Summary from the TLDR newsletter

@property extends the CSS language by providing meaning and context to CSV variables. It can be used to define a type for custom properties, preventing unexpected results and supporting new possibilities like animating gradients. The enhanced type safety opens up new opportunities for testing and validation directly within CSS.