Skip to content

Instantly share code, notes, and snippets.

Paul Browne Paul-frc

View GitHub Profile
@Paul-frc
Paul-frc / gulpfile.js
Last active Mar 31, 2017
http and https server with gulp and express
View gulpfile.js
/* 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 / max_width_email.html
Created Feb 14, 2017 — forked from elidickinson/max_width_email.html
Email Template trick: max-width with outlook
View max_width_email.html
<!--[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]>
View _flexbox-mixin.scss
/* ==================== */
/* container attributes */
/* ==================== */
@mixin new_flexbox() {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
@Paul-frc
Paul-frc / flex-for-ie-10-and-safari.css
Last active Jun 30, 2020
the flexbox equiv. for IE10
View flex-for-ie-10-and-safari.css
/* ==================== */
/* 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;
You can’t perform that action at this time.