Skip to main content
MybringDesign System

Gap

Put gutters between flex items

Owl spacing can be a quicker solution if you only need vertical spacing between the elements.

How to use

Add gap spacing for children elements inside flex between columns, rows or both.

ClassDeclaration
gaxsgap: .25rem;
gasgap: .5rem;
gamgap: 1rem;
galgap: 2rem;
gaxlgap: 4rem;
grxsrow-gap: .25rem;
grsrow-gap: .5rem;
grmrow-gap: 1rem;
grlrow-gap: 2rem;
grxlrow-gap: 4rem;
gcxscolumn-gap: .25rem;
gcscolumn-gap: .5rem;
gcmcolumn-gap: 1rem;
gclcolumn-gap: 2rem;
gcxlcolumn-gap: 4rem;
g
gap
a
all
r
row
c
column

Example

Child
Child
Child
Child
Child
Child
Child
Child
<div class="flex flex-wrap gaxl maxw32r">
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
  <div class="bg-gray2 pam rad-a2px max12r">Child</div>
</div>