Skip to content

Instantly share code, notes, and snippets.

View X-Bird's full-sized avatar

X-Bird X-Bird

  • China
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}";