dotCSS 2019 - Roman Komarov - Utility of Inline Styles

04:31 292 views 100% Published 3 months ago

Filmed at https://2019.dotcss.io on December 4, 2019 in Paris. More talks on https://dotconferences.com/talks

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