Zurb, I Want Zero CSS
With Zurb Foundation for Email, How do I strip the CSS values to nothing?
by Wally Glenn
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" -->
<!-- head -->
<link rel="stylesheet" type="text/css" href="css/zero.css">
<!-- meta http-equiv="Content-Type" content="text/html; charset=utf-8" -->
<!-- meta name="viewport" content="width=device-width" -->
<title>zero html / css</title>
<!-- /head -->
<body><script id="__bs_script__">//<![CDATA[
document.write("<script async src='/browser-sync/browser-sync-client.js?v=2.18.12'><\/script>".replace("HOST", location.hostname));
//]]></script>
Zero
</body>
</html>
CSS
<style>
@media only screen {
html {
min-height: 100%;
background: #f3f3f3;
}
}
@media only screen and (max-width: 596px) {
.small-float-center {
margin: 0 auto !important;
float: none !important;
text-align: center !important;
}
.small-text-left {
text-align: left !important;
}
.small-text-right {
text-align: right !important;
}
}
@media only screen and (max-width: 596px) {
table.body img {
width: auto;
height: auto;
}
table.body center {
min-width: 0 !important;
}
table.body .container {
width: 95% !important;
}
table.body .columns {
height: auto !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-left: 16px !important;
padding-right: 16px !important;
}
table.body .columns .columns {
padding-left: 0 !important;
padding-right: 0 !important;
}
table.body .collapse .columns {
padding-left: 0 !important;
padding-right: 0 !important;
}
th.small-6 {
display: inline-block !important;
width: 50% !important;
}
th.small-12 {
display: inline-block !important;
width: 100% !important;
}
.columns th.small-12 {
display: block !important;
width: 100% !important;
}
table.menu {
width: 100% !important;
}
table.menu td,
table.menu th {
width: auto !important;
display: inline-block !important;
}
table.menu.vertical td,
table.menu.vertical th {
display: block !important;
}
table.menu[align="center"] {
width: auto !important;
}
}
</style>