Skip to content

Instantly share code, notes, and snippets.

View GuilhermeCampano's full-sized avatar

Guilherme Campano GuilhermeCampano

View GitHub Profile
@GuilhermeCampano
GuilhermeCampano / flexbox.less
Created July 13, 2016 13:29 — forked from jayj/flexbox.less
CSS3 Flexbox - LESS Mixins
// --------------------------------------------------
// Flexbox LESS mixins
// The spec: http://www.w3.org/TR/css3-flexbox
// --------------------------------------------------
// Flexbox display
// flex or inline-flex
.flex-display(@display: flex) {
display: ~"-webkit-@{display}";
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox