Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
mjml-button
Advanced tools
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>
attribute | unit | description | default value |
---|---|---|---|
background-color | color | button background-color | #414141 |
container-background-color | color | button container background color | n/a |
border | string | css border format | none |
border-bottom | string | css border format | n/a |
border-left | string | css border format | n/a |
border-right | string | css border format | n/a |
border-top | string | css border format | n/a |
border-radius | px | border radius | 3px |
font-style | string | normal/italic/oblique | n/a |
font-size | px | text size | 13px |
font-weight | number | text thickness | normal |
font-family | string | font name | Ubuntu, Helvetica, Arial, sans-serif |
color | color | text color | #ffffff |
text-align | string | text-align button content | none |
text-decoration | string | underline/overline/none | none |
text-transform | string | capitalize/uppercase/lowercase | none |
align | string | horizontal alignment | center |
vertical-align | string | vertical alignment | middle |
line-height | px/%/none | line-height on link | 120% |
href | link | link to be triggered when the button is clicked | n/a |
rel | string | specify the rel attribute for the button link | n/a |
target | string | specify the target attribute for the button link | _blank |
inner-padding | px | inner button padding | 10px 25px |
padding | px | supports up to 4 parameters | 10px 25px |
padding-top | px | top offset | n/a |
padding-bottom | px | bottom offset | n/a |
padding-left | px | left offset | n/a |
padding-right | px | right offset | n/a |
width | px | button width | n/a |
height | px | button height | n/a |
css-class | string | class name, added to the root HTML element created | n/a |
FAQs
mjml-button
The npm package mjml-button receives a total of 0 weekly downloads. As such, mjml-button popularity was classified as not popular.
We found that mjml-button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.