Answer the question
In order to leave comments, you need to log in
Why doesn't Firefox render margin-top and margin-bottom?
Here codepen.io/tbl/pen/CxLsH clearly shows what I'm stuck on
Rule:
div {
margin: 1%;
}
Answer the question
In order to leave comments, you need to log in
learn.javascript.ru/height-percent
Read how the percentage of heights is calculated.
The flexbox standard says the following:
Percentage margins and paddings on flex items are always resolved against their respective dimensions; unlike blocks, they do not always resolve against the inline dimension of their containing block.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question