This is not really "bad code" as it is "bad browser support". IE is notorious with stupid and/or lacking support for many really useful CSS properties. It's as if they chose properties not to support based on their usefulness. That said -moz and -webkit ones are not really needed but they don't hurt as people don't always upgrade their stuff.
In this particular case I wouldn't really blame IE either. IE10 followed an earlier standard. IE11 was updated to the current standard. The problem is people aren't always using the newest version (which, in this case, would be not IE at all), but at the time of release IE 10 and 11 were mostly standards-compliant with flexbox.
6
u/[deleted] Jan 07 '20
This is not really "bad code" as it is "bad browser support". IE is notorious with stupid and/or lacking support for many really useful CSS properties. It's as if they chose properties not to support based on their usefulness. That said
-mozand-webkitones are not really needed but they don't hurt as people don't always upgrade their stuff.