Socket
Book a DemoInstallSign in
Socket

@ecomailcz/mjml-column

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecomailcz/mjml-column

@ecomailcz/mjml-column

latest
Source
npmnpm
Version
4.4.0-ecm-28
Version published
Weekly downloads
1
-98.59%
Maintainers
2
Weekly downloads
 
Created
Source

mjml-column

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.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <!-- Your first column -->
      </mj-column>
      <mj-column>
        <!-- Your second column -->
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

Columns are meant to be used as a container for your content. They must not be used as offset. Any mj-element included in a column will have a width equivalent to 100% of this column's width. Columns cannot be nested into columns, and sections cannot be nested into columns as well.
attributeunitdescriptiondefault attributes
background-colorstringbackground color for a columnn/a
borderstringcss border formatnone
border-bottomstringcss border formatn/a
border-leftstringcss border formatn/a
border-rightstringcss border formatn/a
border-topstringcss border formatn/a
border-radiuspercent/pxborder radiusn/a
widthpercent/pxcolumn width(100 / number of non-raw elements in section)%
vertical-alignstringmiddle/top/bottomtop
paddingpxsupports up to 4 parameters20px 0
padding-toppxsection top offsetn/a
padding-bottompxsection bottom offsetn/a
padding-leftpxsection left offsetn/a
padding-rightpxsection right offsetn/a
css-classstringclass name, added to the root HTML element createdn/a

FAQs

Package last updated on 27 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts