KSS Style Guide

28.1.11 #Margin - Width - m2 .mw*r-sm-2

Toggle example guides Toggle HTML markup

Sets the margin of element to negative value of the css var for 2 on sm.

Examples
Default styling
A div
.mwar-sm-2
Sets all margins to m2 on sm
A div
.mwxr-sm-2
Sets left and right margins to m2 on sm
A div
.mwyr-sm-2
Sets top and bottom margins to m2 on sm
A div
.mwtr-sm-2
Sets top margin to m2 on sm
A div
.mwrr-sm-2
Sets right margin to m2 on sm
A div
.mwbr-sm-2
Sets bottom margin to m2 on sm
A div
.mwlr-sm-2
Sets left margin to m2 on sm
A div
Markup
<div class="[modifier class]">A div</div>
Source: dist/standard/standard.css, line 9170