logo dotConferences

Utility of Inline Styles

Roman Komarov at dotCSS 2019

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.


To see the slides, you can click here

More details