dotCSS 2019 - Roman Komarov - Utility of Inline Styles

04:31 292 views 100% Published 6 months ago

Filmed at on December 4, 2019 in Paris. More talks on

We used to avoid inline styles, considering them a “bad practice”. But what if most of the known pitfalls could be avoided by using modern CSS features like custom properties?

Roman shows how we can use CSS variables to recreate a utility-first approach by using them as an API from our HTML style attributes.

Link Original video