by piskov · 9mo ago · 0 comments
For example instead of grid center, one can use flex and margin auto.
If you are building really nation-wide products, there are still a lot of guys in corporate with old windows (where even chrome stopped updating like win7). Or, you know, old or poor people with PC from 2008.
Also don’t forget guys with mobile phones: not like one could easily install a browser there. Especially on phones which no longer receive updates.
So writing CSS like it is 2015 is great. Not because it feels great but because it is what caring about your users (and business) is.
Otherwise you’ll get humbled by your clients soon enough. And in corporate they won’t even be your clients unless you support old stuff: IE 11 is a great target if you really want to shine.
It would be utterly negligent to still be running IE in a corporate environment. It’s a huge security risk.
Results may also be skewed because IE mode in Edge will masquerade as IE.
> Internet Explorer mode in Microsoft Edge enables backward compatibility and will be supported through at least 2029.
https://learn.microsoft.com/en-us/lifecycle/announcements/in...
It had Windows 7 with guess what browser built-in. It had Chrome also, thank god (that’s how I know it is no longer updated by Google under 7).
But that’s not the point. The thing is 2015’s state of affairs is good enough for dare I say most UI.
Yeah, grid is not there, but there are very specific UIs that need what flex cannot provide.
PostCSS takes care for most other legacy things