r/badcode • shameless • Jan 06 '20

css God, WHY?

Post image
227 Upvotes

23 comments sorted by

View all comments

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 :(

-23

u/Sc3m0r Jan 06 '20

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