mjml-head-breakpoint

4.15.3 • Public • Published

mj-breakpoint

This tag allows you to control on which breakpoint the layout should go desktop/mobile.

<mjml>
  <mj-head>
    <mj-breakpoint width="320px" />
  </mj-head>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-text>
          Hello World!
        </mj-text>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

attribute unit description default value
width px breakpoint's value n/a

Readme

Keywords

none

Package Sidebar

Install

npm i mjml-head-breakpoint

Homepage

mjml.io

Weekly Downloads

565,940

Version

4.15.3

License

MIT

Unpacked Size

4.19 kB

Total Files

4

Last publish

Collaborators

  • mjmlio
  • iryusa
  • loeck
  • ngarnier
  • meriadec
  • kmcb