C
C
cache02017-02-14 14:32:36
HTML
cache0, 2017-02-14 14:32:36

Is the block with the SVG image added 5px?

Who knows if this is how it should be? I use bootstrap 3.3.7 jQuery 1.12.4
block with no height and width specified, that is, when there are no svg images in it, then it is 0 by 0,
and when there is svg in it, then it is 5px larger than the picture

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Kublyakov, 2017-02-14
@cache0

SVG inline-block element. Write for svg line-height: 0, should help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question