Answer the question
In order to leave comments, you need to log in
Why does SVG code offset html blocks?
The moment when I refreshed the page after adding the code turned out to be very unexpected and saw that the blocks had shifted down (well, or a place was added at the bottom if you paste the code at the end). In another layout, this problem did not arise. The code itself (pug)
svg(width="0" height="0")
defs
symbol#i-close-svg
path(d="M64 0L0 64l448 448L2 958l64 64 446-446 446 446 64-64-446-446 448-448-64-64-448 448z")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question