Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mjml-section

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-section

```xml <mjml> <mj-body> <mj-container> <mj-section full-width="full-width" background-color="red"> <!-- Your columns go here --> </mj-section> </mj-container> </mj-body> </mjml> ```

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
598K
decreased by-7.98%
Maintainers
1
Weekly downloads
 
Created
Source

mjml-section

<mjml>
  <mj-body>
    <mj-container>
      <mj-section full-width="full-width" background-color="red">
        <!-- Your columns go here -->
      </mj-section>
    </mj-container>   
  </mj-body>
</mjml>

Sections are intended to be used as rows within your email. They will be used to structure the layout.

sexy

The full-width property will be used to manage the background width. By default, it will be 600px. With the full-width property on, it will be changed to 100%.

attributeunitdescriptiondefault value
full-widthstringmake the section full-widthn/a
background-colorcolorsection colorn/a
background-urlurlbackground urln/a
background-repeatstringcss background repeatrepeat
background-sizepercent/pxcss background sizeauto
vertical-alignstringcss vertical-aligntop
text-alignstringcss text-aligncenter
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

FAQs

Package last updated on 11 May 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc