4.9.3 • Published 3 years ago

mjml-divider-node6 v4.9.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

mj-divider

Displays a horizontal divider that can be customized like a HTML border.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-divider border-width="1px" border-style="dashed" border-color="lightgrey" />
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>
attributeunitdescriptiondefault value
border-colorcolordivider color#000000
border-stylestringdashed/dotted/solidsolid
border-widthpxdivider's border width4px
container-background-colorcolorinner element background colorn/a
css-classstringclass name, added to the root HTML element createdn/a
paddingpxsupports up to 4 parameters10px 25px
padding-bottompxbottom offsetn/a
padding-leftpxleft offsetn/a
padding-rightpxright offsetn/a
padding-toppxtop offsetn/a
widthpx/percentdivider width100%
alignleft,center, rightalignmentcenter