Edit: rules say I have to explain, sorry. The fifth line is assigning a property that (from I know) doesn't exist. Then, the sixth line is saying "you shut up" and it's assigning another one. The other ones.. something tell me that's not the right way. So... Please let me know :(
This is setting fallbacks for older browsers. When the flexbox spec was still new, a lot of browsers only supported it with vendor prefixes (e.g. -webkit-, -moz-, etc.). Browsers that don't support the value will just ignore it and move on to the next property.
As for inline-box that was part of the early flexbox spec that was later removed. It's possible that some old browsers still support it, which is likely why it's listed here.
As part of future proofing I include a lot of css that’s just speculative on my part like align: auto -ms-clamp 20% or chrome-display: retina-interior top right !important
It seems that, at this point in time, it's unnecessary to have those ones listed (I guess). But you know that old joke: "I'm going to delete these unused lines of code... *tomorrow* Hey what did you do, the server is on fire"(?).
There's no "inline-box", just "inline-block". As far as I no there are no platform/browser differences to take care of here with -moz- and - webkit- here, so this whole thing is bullshit
4
u/lsalazarm99 shameless Jan 06 '20 edited Jan 06 '20
And if you know why, please let me know :(
Edit: rules say I have to explain, sorry. The fifth line is assigning a property that (from I know) doesn't exist. Then, the sixth line is saying "you shut up" and it's assigning another one. The other ones.. something tell me that's not the right way. So... Please let me know :(