siimple 3.2.0 siimple.xyz
Helpers
Utility classes to modify the style of any element.
Sizing
Modify the width or the height of an element
Added in v3.1.0
Modify the width of an element adding the class siimple--width-{size}, or the height of an element with the class siimple--height-{size}. Available sizes: 0%, 25%, 50%, 75% and 100%.
0%
25%
50%
75%
100%
<div class="siimple--width-0 siimple--bg-light">0%</div>
<div class="siimple--width-25 siimple--bg-light">25%</div>
<div class="siimple--width-50 siimple--bg-light">50%</div>
<div class="siimple--width-75 siimple--bg-light">75%</div>
<div class="siimple--width-100 siimple--bg-light">100%</div>
You can also set the min-width property of an element adding siimple--mwidth-{size}, and the min-height adding siimple--mheight-{size}.
Found a mistake or want to help improve this documentation? Suggest changes.