DEV Community

Bokepei
Bokepei

Posted on

Reprint:Fighting the Space Between Inline Block Elements

I have encountered this situation several times, usually I will change the parent font-size: 0; to solve this.

I found a more complete answer:
https://css-tricks.com/fighting-the-space-between-inline-block-elements/
https://translate.googleusercontent.com/translate_c

Top comments (0)