3 ms·
Not OP, but it is usually done by using support tags: https://developer.mozilla.org/en-US/docs/Web/CSS/@supports https://developer.mozilla.org/en-US/docs/Web/C
by fgkramer 8y ago
Not OP, but it is usually done by using support tags:
https://developer.mozilla.org/en-US/docs/Web/CSS/@supports https://developer.mozilla.org/en-US/docs/Web/CSS/@supports
You'd write two versions, one for browsers which do support grid and one for the ones which don't.
Jen Simmons has written excellent tutorials on doing fallbacks and explaining how we can use css grids nowadays:
https://hacks.mozilla.org/2016/08/using-feature-queries-in-css/ https://hacks.mozilla.org/2016/08/using-feature-queries-in-c...
And also has a YouTube channel where she explains a lot on how to deal with css grid in the wild:
https://www.youtube.com/channel/UC7TizprGknbDalbHplROtag https://www.youtube.com/channel/UC7TizprGknbDalbHplROtag