KSS Style Guide

28.1.20 #Margin - Width - mp25 .mw*r-sm-p25

Toggle example guides Toggle HTML markup

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

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