KSS Style Guide

28.1.22 #Margin - Width - mp40 .mw*r-sm-p40

Toggle example guides Toggle HTML markup

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

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