Answer the question
In order to leave comments, you need to log in
Why doesn't child take 100% width, flexbox?
Good afternoon! Please tell me who had a similar situation.
There is approximately such a block
<div class="parent">
<div class="child">{...}</div>
</div>
Answer the question
In order to leave comments, you need to log in
Because chrome adds padding (if I'm not mistaken 4 or 8 pixels)
Try to write simply
.otstupy{
margin : 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question