sylvainpolletvillard / postcss-grid-kiss

A PostCSS plugin to keep CSS grids stupidly simple
https://sylvainpolletvillard.github.io/grid-kiss-playground/index.html
MIT License
1.32k stars 53 forks source link

Autoprefixer for IE 10-11 support #12

Closed ai closed 6 years ago

ai commented 6 years ago

Let’ remove old hacks and use Autoprefixer Grid for IE 10-11 support. New Autoprefixer with grid: true supports even grid-gap and grid-template-area.

sylvainpolletvillard commented 6 years ago

Autoprefixer only works for IE10-11 using the obsolete Grid specification and -ms- vendor prefixes. What about all the other browsers that use the current grid-kiss fallback, like IE9, Safari 6 - 10 and older versions of Chrome/FF ?

ai commented 6 years ago

IT doesn’t help them. But should we care about them? ;)

sylvainpolletvillard commented 6 years ago

Of course I care. According to caniuse, Grid is supported on 84.9% browsers + 3.2% with autoprefixer for IE10-11, and calc() is supported on 94% browsers. So autoprefixer covers 3.2% while the current fallback covers over 9% of users.

If some developers don't care about losing these 6% (!!!) potential users, they can always disable the fallback and use autoprefixer with the grid option.

ai commented 6 years ago

Good point :+1:

sylvainpolletvillard commented 6 years ago

Okay, if we agree then I think I can close this