Skip to content

Instantly share code, notes, and snippets.

@beiyuu
Created May 27, 2014 04:27
Show Gist options
  • Save beiyuu/e1b76d9c8cd28ff860a9 to your computer and use it in GitHub Desktop.
Save beiyuu/e1b76d9c8cd28ff860a9 to your computer and use it in GitHub Desktop.
<table border="0" cellpadding="0" cellspacing="0" width="500" class="wrapper">
<tr>
<td>…Content…</td>
</tr>
</table>
@media screen and (max-width:525px) {
table[class=“wrapper”] {
width:100% !important;
}
}
@media screen and (max-width:525px) {
body, table, td, a {
font-size:16px !important;
}
table[id=“responsive-table”] {
width:100% !important;
}
}
http://alistapart.com/article/can-email-be-responsive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment