@ecomailcz/mjml-spacer

4.4.0-ecm-27 • Public • Published

mjml-spacer

Displays a blank space.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-text>A first line of text</mj-text>
        <mj-spacer height="50px" />
        <mj-text>A second line of text</mj-text>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

attribute unit description default value
container-background-color color inner element background color n/a
css-class string class name, added to the root HTML element created n/a
height px spacer height 20px
padding px supports up to 4 parameters none
padding-bottom px bottom offset n/a
padding-left px left offset n/a
padding-right px right offset n/a
padding-top px top offset n/a
vertical-align string vertical alignment middle
width px spacer width n/a

Readme

Keywords

none

Package Sidebar

Install

npm i @ecomailcz/mjml-spacer

Homepage

mjml.io/

Weekly Downloads

7

Version

4.4.0-ecm-27

License

MIT

Unpacked Size

5.16 kB

Total Files

5

Last publish

Collaborators

  • ecomail
  • tomsq