|
|
|
|
|
by CM30
2880 days ago
|
|
Who actually thought rendering the white space between inline-block elements was a good idea in the first place? Seriously, I genuinely cannot see a use case where this setup would make things better, and it's quite clear that in 95% of them it just makes things harder for web developers. Pretty much no one uses this to align anything, and any use cases I can see could be done better with margins. Just ignore the spaces between inline-block elements and instruct browsers to strip them out. |
|
If you’re misusing inline-block for generic layout then you really should be looking at Flexbox and not trying to neuter the intended behaviour.