why do modern browsers still put spaces between inline block if there is whitespace

前端 未结 4 1751
慢半拍i
慢半拍i 2021-01-12 22:51

If you have markup like this:

one
two
4条回答
  •  耶瑟儿~
    2021-01-12 23:12

    Well, there are spaces between them!

    For a fix, try using font-size: 0 in the parent element.

提交回复
热议问题