Search
Find
Colors
Change the color of the text or background
Display
Customize how the content is displayed in your website
Float
Align elements in your website
Sizing
Modify the width or the height of an element
Spacing
Customize the padding and the margin of an element
Text helpers
Basic text helpers
Miscellanea helpers
A collection of unclassified helpers
Spacing
Customize the padding and the margin of an element
Added in v3.2.0
Modify the padding or the margin of an element adding the class
siimple--{attribute}-{size},
where attribute is one of the following attributes:
mtto change themargin-top.ptto change thepadding-top.mbto change themargin-bottom.pbto change thepadding-bottom.mlto change themargin-left.plto change thepadding-left.mrto change themargin-right.prto change thepadding-top.mxto change themargin-leftand themargin-right.pxto change thepadding-leftand thepadding-right.myto change themargin-topand themargin-bottom.pyto change thepadding-topand thepadding-bottom.
And
size is one of the following values:0: to set thepaddingor themarginto0px.1: to set thepaddingor themarginto5px.2: to set thepaddingor themarginto10px.3: to set thepaddingor themarginto15px.4: to set thepaddingor themarginto20px.5: to set thepaddingor themarginto25px.auto: to set themargintoauto.
Centered element
<div class="siimple--mx-auto siimple--bg-light">
Centered element
</div>
Found a mistake or want to help improve this documentation?
Suggest changes.