Combines the efforts of #9970 and #10055 to fix #9436 (closed).
There were a few things I like about both approaches, and so I spent a few minutes bringing the two together for a more cohesive grid system generator. It's still a bit hairy, but I'm hoping some folks with more mixin chops can help me see if there is room for improvement.
A few thoughts, comments, caveats, etc:
- We cannot use attribute selectors (meaning no
[class^="col-"]
) - We cannot float everything all the time, that breaks the stacking of columns below their breakpoints (e.g., a medium grid column should be stacked in small view ports)
- The number of mixins is kind of outrageous for generating our mixins and providing generic mixins to generate your own classes. I'm unsure of a way to improve this :.
That said, this brings back an amazing tool for folks and I think no matter how it changes from here, it's a solid win for 3.0.1.
/cc @cvrebert @masterbee