README.md

November 24, 2025 ยท View on GitHub

mj-breakpoint

Allows you to control at what width the layout should change from the desktop/mobile view to the desktop one.

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

Attributes

attributeacceptsdescriptiondefault value
widthpxbreakpoint's value

Try it live