Skip to content

Instantly share code, notes, and snippets.

View pietro909's full-sized avatar

pietro909 pietro909

View GitHub Profile
@pietro909
pietro909 / Flexbox Mixins
Last active December 31, 2015 22:29
A simple collection of mixins for Less in order to use FlexBox layout effortlessly among different modern browsers.I won't support any old browser, as they can be upgraded for free and Chrome/Firefox are free and available for every device.thanks to http://the-echoplex.net/flexyboxes/ for the help
/* FLEX CONTAINER */
.display-flex() {
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: -moz-box;
display: flex;
}
.flex-direction-row {