containing block
A rectangle that forms the basis of sizing and positioning for the boxes associated with it.
(요소의 박스와 연관된 박스들의 크기 조정 및 위치 지정을 결정하는 기반이 되는 직사각형)
CSS Display Module Level 3, containing block
뷰포트(viewport)
box model
<section class="grandparent-1">
    <h4>일반적인 경우(.parent가 Containing Block)</h4>
    <div class="parent">
        parent는 width: 200px;
        <p class="child">나는 width: 50%</p>
    </div>
</section>
<section class="grandparent-2">
    <h4>position: absolute;인 경우(.grandparent-2가 Containing Block)</h4>
    <div class="parent">
        parent는 width: 200px;
        <p class="child">나는 width: 50%;</p>
    </div>
</section>
section {
    background-color: beige;
    padding: 2em;
    margin: 1em;
}
.grandparent-1 {
    position: static;
}
.grandparent-2 {
    position: relative; /* .absolute 예제의 Containing Block을 위한 설정 */
}

/* 부모 요소 */
.parent {
    width: 200px;
    height: 150px;
    background-color: gold;
}

/* 자식 요소 */
.child {
    background-color: violet;
    border: 5px solid;
    width: 50%; /* Containing Block 기준으로 계산됨 */
}

/* position: absolute 설정 */
.grandparent-2 .child {
    position: absolute;
}
실제 적용된 모습