Adam Wathan 9/18/2020

Composing the Uncomposable with CSS Variables

Read Original

This technical article discusses the limitations of CSS shorthand properties in utility-first frameworks like Tailwind. It explains how CSS custom properties (variables) can be used to create composable utility classes for properties that don't decompose, such as transform, by storing and combining partial values at runtime.

Composing the Uncomposable with CSS Variables

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser