Skip to content

Instantly share code, notes, and snippets.

View Paul-frc's full-sized avatar

Paul Browne Paul-frc

View GitHub Profile
/* ==================== */
/* container attributes */
/* ==================== */
@mixin new_flexbox() {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
@Paul-frc
Paul-frc / max_width_email.html
Created February 14, 2017 09:20 — forked from elidickinson/max_width_email.html
Email Template trick: max-width with outlook
<!--[if mso]>
<center>
<table><tr><td width="580">
<![endif]-->
<div style="max-width:580px; margin:0 auto;">
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p>
</div>
<!--[if mso]>
@Paul-frc
Paul-frc / gulpfile.js
Last active March 31, 2017 13:16
http and https server with gulp and express
/* TODO
try fallback directory for ssl certs and keys, if no others found...
*/
/*
npm install gulp file-system spdy express compression dotenv --save-dev
@Paul-frc
Paul-frc / flex-for-ie-10-and-safari.css
Last active October 1, 2021 09:07
the flexbox equiv. for IE10
/* ==================== */
/* container attributes */
/* ==================== */
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-direction: row | column | row-reverse | column-reverse;
-webkit-flex-direction: row | column | row-reverse | column-reverse;