Closed marius7383 closed 6 years ago
I just reworked the PR such that the diffs become slim and to be able to see that the offset rules are generated only once.
The only diff in the resulting CSS file is due some col_
rules that have been missing for grid_xx_11
in the previous version.
Merge! Thank you for your work !!
I very much like how many features of flexbox gridlex embraces. In various projects I came across the need to have different proportions / number of columns which is why I converted the hard-coded blocks into
@for
loops and introduced a variable called$gl-colCount
which defaults to12
. The filegridlex-preprocessing.scss
uses this variable to calculate the column proportions and fractions which is then used ingridlex-mixins.scss
to generate the needed column and grid definitions. I though I'd try to give this back for all the time I saved by not having to create a grid system by myself. Maybe you find it useful as well and would be willing to merge this PR.In any case: Thanks for gridlex!