<div class="grid grid--center">
<div class="sm-w-1/2 md-w-1/3 lg-w-1/4 grid__item">
<div class="box box--default box--tiny text-center"><strong>XS</strong> 1/1 · <strong>SM</strong> 1/2 · <strong>MD</strong> 1/3 · <strong>LG</strong> 1/4</div>
</div>
<div class="sm-w-1/2 md-w-1/3 lg-w-1/4 grid__item xs-mrgt">
<div class="box box--default box--tiny text-center"><strong>XS</strong> 1/1 · <strong>SM</strong> 1/2 · <strong>MD</strong> 1/3 · <strong>LG</strong> 1/4</div>
</div>
</div>
Change an element width depending on predefined breakpoints. This use a mobile-first approach — it use breakpoints defined as min-width
only — and therefor cover all upper resolutions.
Classes are generated based on the $widths-breakpoints
setting.