4 ms·
IE is the big hurdle. It can be done - Sascha Fuchs wrote some SASS mixins that take the place of IE's missing grid-gap, and I wrote a mixin recently to take th
by ksenzee 9y ago
IE is the big hurdle. It can be done - Sascha Fuchs wrote some SASS mixins that take the place of IE's missing grid-gap, and I wrote a mixin recently to take the place of grid-autoflow. I'll publish it somewhere if anyone would find it useful.
- swsieber 9y agoI would love to see it (I think it will be more instructional than anything)
- ksenzee 9y agohttps://gist.github.com/ksenzee/276d60f3e251b1dfafaf52ed8dbdb0de https://gist.github.com/ksenzee/276d60f3e251b1dfafaf52ed8dbd..., which is based on mixins at https://medium.com/@gisugosu/css-grid-layout-spec-2-to-spec-1-transpiler-with-sass-415dff4dd31b https://medium.com/@gisugosu/css-grid-layout-spec-2-to-spec-.... The @gisugosu article lets you use named areas, which my gist doesn't support; my gist lets you use autoflow, which the mixins in the article don't support. If you're using both methods, you'll need a combination of the two.