flexless
v1.0.0
Published
flex with less effort
Downloads
1
Readme
flex.less
simpler flex syntax
flex with less effort
simple-flex implementation as less mixins
npm i flexless # -- save
@import '../node_modules/flexless/flex'
body {
.flex(less);
// display: flex;
.flex(line);
// display: inline-flex;
.flex(center);
/*
align-items: center;
align-content: center;
justify-content: center;
*/
.flex(wrap);
// flex-wrap: wrap;
.flex(column);
// flex-direction: column;
.justify(end);
// justify-content: flex-end;
.justify(around);
// justify-content: space-around;
.align(start);
// align-items: flex-start;
.self(auto);
// align-self: auto;
.flex(grow);
// flex-grow: 1;
}