Skip to content

Build with Utility Classes

Mike Mai edited this page Jul 17, 2018 · 4 revisions

Don't! Just don't.

Utilities are not building blocks, they are single purpose CSS overrides, every one of them is declared with !important. They are meant for one-off edge cases.

One more time, this is bad!

<div class="u-bolt-padding-medium u-bolt-color-white u-bolt-background-color-indigo-dark u-bolt-font-size-xxxlarge u-bolt-text-align-center>
 ...
</div>
Clone this wiki locally