Socket
Socket
Sign inDemoInstall

mjml-button-node6

Package Overview
Dependencies
94
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mjml-button-node6

mjml-button


Version published
Weekly downloads
37
increased by146.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

mj-button

desktop

Displays a customizable button.

The `mj-button` won't be fully clickable because of client support. See discussion at [Issue #359](https://github.com/mjmlio/mjml/issues/359).
<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
alignstringhorizontal alignmentcenter
background-colorcolorbutton background-color#414141
borderstringcss border formatnone
border-bottomstringcss border formatn/a
border-leftstringcss border formatn/a
border-radiuspxborder radius3px
border-rightstringcss border formatn/a
border-topstringcss border formatn/a
colorcolortext color#ffffff
container-background-colorcolorbutton container background colorn/a
css-classstringclass name, added to the root HTML element createdn/a
font-familystringfont nameUbuntu, Helvetica, Arial, sans-serif
font-sizepxtext size13px
font-stylestringnormal/italic/obliquen/a
font-weightnumbertext thicknessnormal
heightpxbutton heightn/a
hreflinklink to be triggered when the button is clickedn/a
inner-paddingpxinner button padding10px 25px
letter-spacingpx,emletter-spacingn/a
line-heightpx/%/noneline-height on link120%
paddingpxsupports up to 4 parameters10px 25px
padding-bottompxbottom offsetn/a
padding-leftpxleft offsetn/a
padding-rightpxright offsetn/a
padding-toppxtop offsetn/a
relstringspecify the rel attribute for the button linkn/a
targetstringspecify the target attribute for the button link_blank
text-alignstringtext-align button contentnone
text-decorationstringunderline/overline/nonenone
text-transformstringcapitalize/uppercase/lowercasenone
titlestringtooltip & accessibilityn/a
vertical-alignstringvertical alignmentmiddle
widthpxbutton widthn/a

FAQs

Last updated on 25 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc