0
Whats the difference between display inline and inline-block
I've searched for this on google but no luck in figuring out Can explain it with an example code or something like please
2 Respuestas
+ 1
Most of the differences described here: https://www.w3schools.com/css/css_inline-block.asp
The one I've just apparently found from Calviղ 's code is, margins don't get collapsed in inline-block,
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing