DEV Community

Discussion on: The new CSS Grid will change the way you think about layouts. Here's why.

 
seanmclem profile image
Seanmclem • Edited

So? Just a couple months ago it only worked on mobile Chrome. Firefox is usually next after Chrome, but Safari is usually far behind that. Not this time.

Thread Thread
 
namchee profile image
Cristopher

IMO, I think it's a bad practice to run a code that only works perfectly on certain browsers. But alas, only time will tell.

Thread Thread
 
seanmclem profile image
Seanmclem • Edited

In my opinion, the latest several versions of every major browser - is pretty sufficient for certain features. Especially if you implement graceful degradation, so that browsers that don't support the feature can fall back on an older feature that is more widely supported.

Only render the feature if it's supported by the browser, render nothing or graceful degradation if it isn't.

It's common practice