M
M
MjRK2021-07-16 20:59:35
css
MjRK, 2021-07-16 20:59:35

Why does the drop-down menu cause other blocks to sausage?


I made a menu using JS and CSS, when I open it, it starts to sausage and, in principle, the entire site. What's the problem? (It's better to look directly in jsFiddle, for some reason everything works fine here)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Grishov, 2021-07-16
@MjRK

In .header change margin to padding

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question