@pi0/framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
24 lines (22 loc) • 462 B
text/less
/* === Grid === */
.row {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: flex-start;
> [class*="col-"], > .col {
box-sizing: border-box;
}
}
@cols: 5, 10, 15, 20, 25, 30, 100/3, 35, 40, 45, 50, 55, 60, 65, 100*(2/3), 70, 75, 80, 85, 90, 95, 100;
.row {
.col {
width: 100%;
}
}
& when (@include-ios-theme) {
@import url('./grid-ios.less');
}
& when (@include-md-theme) {
@import url('./grid-md.less');
}