KSS Style Guide

9.1.9 #Margin - Width - p10 .mw*r-p10

Toggle example guides Toggle HTML markup

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

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