Skip to content

Instantly share code, notes, and snippets.

View kewelinho's full-sized avatar

Adrián Rodríguez Fernández kewelinho

View GitHub Profile
// --------------------------------------------------
// 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: ~"-moz-@{display}";