Margin

utility

Set element margin

Example
Element with margin
HTML code
<div class="ek-border ek-margin ek-bg--white" style="border-style:dashed">Element with margin</div>
Type particle
Group utility
Todo
tailwind m-0 etc. Now in tailwind.css

Styles

Elements Css style

block
Block
Adds margin to the top and bottom.
inline
Inline
Adds margin to the left and right.
vertical
Vertical
Adds margin to the top and bottom. @deprec use block
horizontal
Horizontal
Adds margin to the left and right. @deprec use inline
top
Top
Adds margin to the top.
right
Right
Adds margin to the right.
bottom
Bottom
Adds margin to the bottom.
left
Left
Adds margin to the left.
mini
Mini
small
Small
large
Large
jumbo
Jumbo
none
None
Clear all margins