Package detail

mjml-head-breakpoint

mjmlio3.7mMIT4.16.1

mjml-head-breakpoint

readme

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