cheatsheets/premailer.md

28 lines
514 B
Markdown
Raw Permalink Normal View History

2014-02-25 10:32:14 +00:00
---
title: Premailer
tags: [WIP]
intro: |
[Premailer](https://github.com/premailer/premailer/) is a Ruby library that inlines CSS into HTML.
2014-02-25 10:32:14 +00:00
---
### Custom CSS properties
2014-02-25 10:32:14 +00:00
<!-- 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;
}
```