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

mjml-button

Package Overview
Dependencies
Maintainers
5
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-button

mjml-button

  • 4.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

mjml-button

desktop

Displays a customizable button.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-button font-family="Helvetica" background-color="#f45e43" color="white">
          Don't click me!
         </mj-button>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>

try it live

attributeunitdescriptiondefault value
background-colorcolorbutton background-color#414141
container-background-colorcolorbutton container background colorn/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-radiuspxborder radius3px
font-stylestringnormal/italic/obliquen/a
font-sizepxtext size13px
font-weightnumbertext thicknessnormal
font-familystringfont nameUbuntu, Helvetica, Arial, sans-serif
colorcolortext color#ffffff
text-alignstringtext-align button contentnone
text-decorationstringunderline/overline/nonenone
text-transformstringcapitalize/uppercase/lowercasenone
alignstringhorizontal alignmentcenter
vertical-alignstringvertical alignmentmiddle
line-heightpx/%/noneline-height on link120%
hreflinklink to be triggered when the button is clickedn/a
relstringspecify the rel attribute for the button linkn/a
targetstringspecify the target attribute for the button link_blank
inner-paddingpxinner button padding10px 25px
paddingpxsupports up to 4 parameters10px 25px
padding-toppxtop offsetn/a
padding-bottompxbottom offsetn/a
padding-leftpxleft offsetn/a
padding-rightpxright offsetn/a
widthpxbutton widthn/a
heightpxbutton heightn/a
css-classstringclass name, added to the root HTML element createdn/a

FAQs

Package last updated on 18 Jul 2018

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