Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mjml-head-breakpoint-pathable

mjmlio2MIT4.2.18

mjml-head-breakpoint

readme

mjml-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