4 ms·
Poor quality articles. They use flexbox and provide no fallback for older browsers. They could use at least non-responsive layout for desktop resolution for old
by codedokode 7y ago
Poor quality articles. They use flexbox and provide no fallback for older browsers. They could use at least non-responsive layout for desktop resolution for older browsers. Probably the reason why they didn't do it is lack of knowledge of CSS.
- majewsky 7y agoFlexbox has been supported by all browsers for years now, even by IE11. What on earth do you need to support if you cannot use flexbox?
- codedokode 7y agoCaniuse says that IE11 has a lot of bugs regarding flexbox. Firefox supports flexbox only since 2013-2014. So it would make sense to add a simple non-responsive fallback for older browsers. Also, if I remember correctly, the default browser in Windows 7 is IE9. It makes sense to support default browser in the most popular desktop OS. Some of older browsers, released in 2012-2014 support flexbox only with vendor prefixes, but the article doesn't has rules with prefix. As frontend devs tend to copy the code without much thinking, we cannot expect that they will add the prefixes or fallback code themselves. So it will be author's responsibility for web sites being less accessible in different browsers.
- mixmastamyk 7y agoWin7 and IE9 are both EOL in six months. Makes sense to drop in new articles.
- codedokode 7y agoHTML/CSS was designed to be forward/backward compatible and not to be written only for version of Safari installed on dev's macbook. This is against the spirit of HTML.
- jrochkind1 7y agoIf I understand right, you are suggesting it is "against the spirit of HTML" to write CSS that isn't backwards compatible... infinitely? You have to draw the line somewhere, right? An ancient enough browser won't support CSS at all. Using only CSS that would be supported by a, say, year 2005 browser would also be pretty limiting. You can choose to do that if you want, but I think your opinion about the "spirit" is a minority one.
- CamperBob2 7y agoThat ship sailed the day people first started using HTML for page layout in general. The spirit of HTML was not adequate to meet requirements, so the spirit has been upgraded. Pray all you want, it's going to be upgraded further.
- mixmastamyk 7y agoDon’t believe that argument can be used in favor of IE, which was never standards based.
- RussianCow 7y agocaniuse.com also has the combined global market share of IE 6-10 as being only 0.46%, which is completely insignificant for most websites. And I've personally been using flexbox on IE 11 for years with very few issues. > Some of older browsers, released in 2012-2014 support flexbox only with vendor prefixes Again, these browsers represent a tiny fraction of the total market. Firefox and Chrome auto-update by default, so there is no reason that someone should be on a version from 2012. These days it simply doesn't make sense to have a fallback for flexbox unless you're specifically targeting older versions of IE. (And even then, I've had some luck getting flexbox layouts to work on IE 10, even though it's more effort.)
- zamber 7y agoGlobal market share stats are applicable for global target websites. Consider any medical equipment company for example - their clients will browse the catalog from archaic, unmaintained PCs they have laying around. Always get data about browser market share from your client if they have it, otherwise you're simply in for an uncomfortable surprise one stats start coming in.
- jrochkind1 7y agoI haven't had any trouble doing flexbox for IE11. I always make sure to test in IE11 because of the caniuse warnings; I have very rarely run into any problem with IE11, maybe once or twice, and they were easy to work around problems. I wouldn't be scared of using flexbox even if you need to support IE11. I'm not sure where caniuse's dire warnings come from. (I have run into different flexbox behavior between FF/Chrome about as often I have run into flexbox problems with IE11; I generally couldn't tell you which of FF or Chrome is correct/incorrect in those cases). I've in the past done flexbox without too much trouble even on IE10, but I am not myself concerned with IE10 anymore.
- extrapickles 7y agoIf you need to still support IE 8&9, there are pollyfills that will add flexbox support to them. They aren't as quick as native, but they still work.
- chiefalchemist 7y agoAndy Bell? Lacks CSS knowledge? That's a bit over the top.
- proyb2 7y agoYou may be surprise to know who is Heydon who co-author in the article. https://inclusive-components.design/ https://inclusive-components.design/ IE11 is meant for supporting legacy sites and Microsoft doesn’t recommend consumers to use it. It make sense to work on Grid and Flexbox for new sites.
- robdachshund 7y agoYou do realize that most projects do not target ie11 whatsoever right? I do mainly ecommerce and private web apps for clients. I have never needed to worry about if one of my users is on any version of internet explorer. If you are building some enterprise platform for the government or something, sure. But basic sites and apps are not trying to attract 90 year olds on xp using ie6. I'm not going to avoid using a css feature that is supported by modern browsers that makes my job much much easier.
- plausibilities 7y agoMaybe their target audience doesn't primarily consist of entry-level devs relegated to maintaining legacy eCommerce web properties and back-office portal/intranet systems?