Two consecutive block elements are created on the page.
The first one has fields (outer indentation) from all four sides, equal to 20 pixels.
The second has fields equal to 17 pixels.
What is the size of the field between these elements after filling?
The correct answer is 20px.
First, it does not matter what the size of the side fields of the elements is equal since all block elements are poured only from the top down. Secondly, if block elements meet with each other, the field size between them is equal to the largest of the fields, namely 20px, that is, the fields are superimposed on each other.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з HTML & CSS
Зареєструйся Зараз
або Підпишись на майбутні тести