Layout and the containing block - CSS: Cascading Style Sheets | MDN
The size and position of an element are often impacted by its containing block. Most often, the containing block is the content area of an element's nearest block-level ancestor, but this is not always the case. In this article, we examine the factors that determine an element's containing block.
Hi I'm Mitchum, and this is my personal blog! I'm a web developer so I'll talk about some tech stuff, but life is too interesting to keep it to just that.
Браузеры рисуют любой элемент на HTML-странице как прямоугольник. Как рассчитывается размер этого прямоугольника? Разберёмся с одной из основных концепций вёрстки.