KSS Style Guide

28.1.19 #Margin - Width - mp20 .mw*r-sm-p20

Toggle example guides Toggle HTML markup

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

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