3 ms·
Please take into account current support for subgrid [1]. My first time redoing quite complex checkout table with mobile support was a nightmare. I only realis
by fimdomeio 7y ago
Please take into account current support for subgrid [1].
My first time redoing quite complex checkout table with mobile support was a nightmare. I only realised I needed something more halfway along the process. Found out it was subgrid I was looking for and they figuring out there was no current browser support.
But using a oneliner like `grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));`
too almost fully create a grid system is pretty amazing and something you can use right now.
1. https://caniuse.com/#feat=css-subgrid https://caniuse.com/#feat=css-subgrid
- mtarnovan 7y agowow, you're not kidding. only latest FF supports subgrid ?!
- simcop2387 7y agonot latest, but nightly FF. That's a pretty big non-starter.
- miiiiiike 7y agoSupport is coming tho. Always good to hear about what's next.
- weo3dev 7y agoYes - it came out earlier this week or end of last week. But CSS Grid has been available since 2017. So, we are able to still solve a lot of layout issues with grid, than leaning 100% on flexbox. Every tool for its purpose! We have nearly a full toolbox on the CSS side of things. Happiness.
- liminal 7y agoI've gotten a lot of the benefit of subgrid by using display:contents