Description Usage Arguments Function See Also Examples
Columns enable you to horizontally organize the content within your sections. They must be located under mj-section tags in order to be considered by the engine. To be responsive, columns are expressed in terms of percentage. Every single column has to contain something because they are responsive containers, and will be vertically stacked on a mobile view. Any standard component, or component that you have defined and registered, can be placed within a column – except mj-column or mj-section elements.
1 |
... |
Unnamed items that comprise this list of MJML tags. |
mj_section
Horizontal sections.
mj_container
Standard container.
mj_column
Column, up to four.
https://mjml.io/documentation/#mjml-column
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | mj_ml(
mj_body(
mj_container(
mj_section(
mj_column(
mj_text("First Column")
),
mj_column(
mj_text("Second Column")
)
),
mj_section(
mj_column(
mj_text("First Column")
),
mj_column(
mj_text("Second Column")
),
mj_column(
mj_text("Third Column")
)
)
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.