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

3rd Jun 2020, 3:32 AM
Sainath Dora
2 Réponses
+ 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
3rd Jun 2020, 10:45 AM
Mahmud Nabil
Mahmud Nabil - avatar