KSS Style Guide

9.1.11 #Margin - Width - p20 .mw*r-p20

Toggle example guides Toggle HTML markup

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

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