2014-02-25 10:32:14 +00:00
|
|
|
---
|
|
|
|
title: Premailer
|
2020-07-03 12:47:47 +00:00
|
|
|
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
|
|
|
---
|
|
|
|
|
2020-07-03 12:47:47 +00:00
|
|
|
### Custom CSS properties
|
2014-02-25 10:32:14 +00:00
|
|
|
|
2020-07-03 12:47:47 +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;
|
|
|
|
}
|
|
|
|
```
|