Fork-Awesome/assets/less/gandy-grid/mixins.less

19 lines
287 B
Plaintext
Raw Normal View History

2016-04-22 23:35:08 +08:00
.gg {
display: table;
width: 100%;
vertical-align: middle;
}
.gg-col {
display: table-cell;
vertical-align: inherit;
}
.gg-vertical-align(@align) {
vertical-align: @align;
}
.gg-make-col(@column-width, @total-columns) {
width: (100% / @total-columns * @column-width);
}