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
Зарегистрируйся сейчас
или Подпишись на будущие тесты