Answer the question
In order to leave comments, you need to log in
Why, when laying out a flex block, does the upper indent of the inner block fly off if the display: flex property is removed from the lower block?
Actually there is a code.
If the ul element has display: flex;
Then the indents of the neighboring element fly off, can you tell me what is the reason for this?
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/ru/docs/Web/CSS/CSS_... read.
Elements with display: flex ignore these rules.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question