레이아웃 및 CSS 더 많은 세부 정보 A2 · 공식 명세 플랫폼: 웹

Containing Block

포함 블록

포함 블록은 요소가 자신의 위치와 백분율 크기를 계산할 때 사용하는 직사각형입니다.

당신은 이것을 이렇게 부를 수 있습니다 Containing Block위치 맥락백분율 참조 상자

작동 방식을 확인하세요

원본 작업 예제포함 블록

다른 예시

판매 배지를 블록 시작점에서 8px, 인라인 끝에서 8px 떨어진 곳에 배치합니다. 카드에 `position: relative`를 설정하면 올바른 포함 블록이 됩니다. 변형된 캐러셀 조상 요소는 더 이상 배지를 멀리 코너로 당길 수 없습니다.

주요 부분

  1. 01상위 항목 설정
  2. 02참조 사각형
  3. 03해결된 삽입 또는 백분율

사용할 때

백분율 크기, 절대 위치나 스티키 위치, 또는 변형된 상위 요소를 수정하기 전에 실제 포함 블록을 찾으세요.

다음 경우에는 사용하지 마세요

항상 가장 가까운 DOM 부모나 뷰포트라고 가정하지 마세요. 위치와 포함 규칙이 이를 바꿀 수 있습니다.

코드에서 사용된 이름

positioning scheme + containing-block-establishing ancestor

출시하기 전에

Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.

복사 가능한 요청

Outcome:Complete the task with 포함 블록 (Containing Block)。 User context:판매 배지를 블록 시작점에서 8px, 인라인 끝에서 8px 떨어진 곳에 배치합니다. 카드에 `position: relative`를 설정하면 올바른 포함 블록이 됩니다. 변형된 캐러셀 조상 요소는 더 이상 배지를 멀리 코너로 당길 수 없습니다. Design concept to apply:포함 블록 (Containing Block)。 Why it fits:백분율 크기, 절대 위치나 스티키 위치, 또는 변형된 상위 요소를 수정하기 전에 실제 포함 블록을 찾으세요. Do not use it when:항상 가장 가까운 DOM 부모나 뷰포트라고 가정하지 마세요. 위치와 포함 규칙이 이를 바꿀 수 있습니다. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary):공식 문서라고 해도 초안, 출시 후보, 최종 버전일 수 있어요. 상태와 브라우저나 플랫폼 지원 여부를 꼭 확인하세요. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.

이 요청을 확인하세요

Review how 포함 블록 (Containing Block) is used now. Definition: 포함 블록은 요소가 자신의 위치와 백분율 크기를 계산할 때 사용하는 직사각형입니다. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A2
이 용어는 얼마나 공식적인가요?

공식 명세

출판된 공식 규격이 나열된 기술 범위에서 이 용어를 정의해요.

공식 문서라고 해도 초안, 출시 후보, 최종 버전일 수 있어요. 상태와 브라우저나 플랫폼 지원 여부를 꼭 확인하세요.

범위
소스가 포함하는 것만:정규 이름、정의、의미론、구현
문서 상태
초안
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · W3C CSS Working Group · 초안 CSS Positioned Layout Module Level 3 — Containing blocks of positioned boxes Containing blocks of positioned boxes 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Positioned Layout Module Level 3 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 용어 참조 W3C — CSS Positioned Layout Level 3: Containing Blocks 여기 역할: 직접 용어 참조

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.