0
Why when 2 elements take display inline block get a small space inbetween
this space is coming from where and why and how big it could be
3 Antworten
0
After reading about the inline-block spacing and what Johannes K provided, I figured that this is the normal styling of the inline-block display value.
+ 1
https://code.sololearn.com/WlvtCBRLddJc/#css
It has its origins in the spaces inbetween the elements.
https://css-tricks.com/fighting-the-space-between-inline-block-elements/
That article illustrates super well
0
you can also check the parents styles if it has margin by any means it could be from there as well