Skip to content

Instantly share code, notes, and snippets.

@andrearufo
Created May 17, 2015 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrearufo/42ecaa1fb01df02eeb57 to your computer and use it in GitHub Desktop.
Save andrearufo/42ecaa1fb01df02eeb57 to your computer and use it in GitHub Desktop.
Unversal flexbox div in LESS
.flexbox(@d: flex, @j: center, @a: center){
display: @d;
justify-content: @j;
align-items: @a;
display: -webkit-@d;
-webkit-justify-content: @j;
-webkit-align-items: @a;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment