레이아웃 및 CSS 핵심 A2 · 공식 명세

Gap

간격

간격은 컨테이너가 Flexbox나 Grid 자식 요소 사이에 두는 공간입니다. 동일한 규칙이 모든 쌍에 적용됩니다.

당신은 이것을 이렇게 부를 수 있습니다 Gap거터그리드 간격

작동 방식을 확인하세요

원본 작업 예제간격

다른 예시

Toolbar는 하나의 간격 값을 사용해. 새 버튼이 추가돼도 간격이 고르게 유지돼.

주요 부분

  1. 01Outer constraint
  2. 02Content and spacing model
  3. 03Computed size or reflow result

사용할 때

형제 요소 사이의 공간을 각 자식이 아닌 레이아웃이 제어해야 할 때 gap을 사용하세요.

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

간격이 관계를 더 명확하게 보여줄 때 각 자식에게 여백을 절대 추가하지 마세요.

코드에서 사용된 이름

gap

출시하기 전에

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 간격 (Gap)。 User context:Toolbar는 하나의 간격 값을 사용해. 새 버튼이 추가돼도 간격이 고르게 유지돼. Design concept to apply:간격 (Gap)。 Why it fits:형제 요소 사이의 공간을 각 자식이 아닌 레이아웃이 제어해야 할 때 gap을 사용하세요. Do not use it when:간격이 관계를 더 명확하게 보여줄 때 각 자식에게 여백을 절대 추가하지 마세요. 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 간격 (Gap) is used now. Definition: 간격은 컨테이너가 Flexbox나 Grid 자식 요소 사이에 두는 공간입니다. 동일한 규칙이 모든 쌍에 적용됩니다. 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 Box Alignment Module Level 3 — Gaps between boxes Gaps between boxes 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Box Alignment Module Level 3 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Grid Layout Module Level 2 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Flexible Box Layout Module Level 1 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현

직접 복사

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