3 ms·
> grid existed since 2007, flex since 2009. These two only existed theoretically. For anyone actually earning a living with the frontend they didn't exist beca
by dmitriid 5y ago
> grid existed since 2007, flex since 2009.
These two only existed theoretically. For anyone actually earning a living with the frontend they didn't exist because:
- grid kinda existed in IE, but not in other browsers. Well, you could build a site that only targeted IE, but in 2007 this was already being really frowned upon and out of vogue.
When grid was finalized, it was a different version of the spec, not entirey compatible with IE's. Chrome and Firefox only got grid in 2017.
- flex was only partially supported by browsers until 2012 when it was fully supported, but behind a prefix. Full support without a prefix only appeared in 2013.
I mean, I love the fantasy world you have constructed, but there are people who actualy do frontend and do actually remember the anciaent histroy of checks notes the past 10 years or so
- strenholme 5y agoFrom where I sit, here in late 2021 it has just become finally possible to use “Display: Grid” [1] on a real world site. Microsoft has finally configured IE11 to force a website to open up in Edge if the patched IE11 decides the site is not IE compatible; I just need to learn how to make my site refuse to open in IE11 (opening up in Edge instead) to use “Display: Grid”. I really wish Display: Grid was practical to use back in 2009. It would had been a lot more straightforward than the “Display: Table” stuff I did instead. [1] https://caniuse.com/?search=Display%3A%20Grid https://caniuse.com/?search=Display%3A%20Grid
- dmitriid 5y ago> From where I sit, here in late 2021 it has just become finally possible to use “Display: Grid” Indeed. There's a reason caniuse lists browsers all the way back to 2009 or so :D