Skip to content

Instantly share code, notes, and snippets.

View joseph-turner's full-sized avatar

Joseph Turner joseph-turner

  • Overstock.com
  • Utah
View GitHub Profile
@joseph-turner
joseph-turner / flexbox-mixin.scss
Created May 29, 2013 22:21
Flexbox SASS mixin (Compass required) Implementation based on Chris Coyier's article: Using Flexbox: Mixing Old and New for the Best Browser Support (http://css-tricks.com/using-flexbox/)
// ==================================================================
// Flexbox
//
// Implementation based on Chris Coyier's article:
// Using Flexbox: Mixing Old and New for the Best Browser Support || http://css-tricks.com/using-flexbox/
// ==================================================================
// Flexbox Context (applied to container element of flex items)
@mixin flex-display {
@include experimental-value(display, box, -moz, -webkit, not -o, -ms, not -khtml, official); // Old