1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-01-13 22:42:02 +01:00
cheatsheets/premailer.md
Rico Sta. Cruz 511de900ba
Formatting updates (#2133)
- Update some sheets which have very long sections
- Remove `layout: 2017/sheet` (everything has the same layout now)
- Remove outdated sheets
2024-04-03 18:30:24 +11:00

28 lines
514 B
Markdown

---
title: Premailer
tags: [WIP]
intro: |
[Premailer](https://github.com/premailer/premailer/) is a Ruby library that inlines CSS into HTML.
---
### Custom CSS properties
<!-- prettier-ignore -->
```css
table, th, td {
/* Available on table, th and td elements */
-premailer-width: 32px;
}
table, tr, th, td {
/* Available on table, tr, th and td elements */
-premailer-height: 32px;
}
table {
/* Available on table elements */
-premailer-cellpadding: 32px;
-premailer-cellspacing: 32px;
}
```