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

Cascade Layers

캐스케이드 레이어

캐스케이드 레이어는 CSS 규칙의 순서를 설정하는 이름이 붙은 그룹입니다. 브라우저는 선택자 특이성을 비교하기 전에 이 순서를 확인합니다.

당신은 이것을 이렇게 부를 수 있습니다 Cascade Layers@layer계단식 아키텍처

작동 방식을 확인하세요

원본 작업 예제캐스케이드 레이어

다른 예시

한 사이트가 `@layer reset, tokens, components, utilities, overrides`를 선언합니다. 레이어가 나중에 나오는 낮은 가중치 유틸리티는 복잡한 컴포넌트 선택자를 이길 수 있습니다. 벤더 CSS는 가장 초기 레이어에 들어가며, 임시 오버라이드는 더 긴 선택자를 남기지 않고 제거할 수 있습니다.

주요 부분

  1. 01선언된 계층 순서
  2. 02계층 내 규칙
  3. 03레이어링되지 않은 경계

사용할 때

재설정, 종속성, 구성 요소, 유틸리티 및 제품 재정의를 위한 하나의 공유 계층 순서를 설정합니다.

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

모든 구성 요소마다 레이어를 만들지 마세요. 또한 레이어가 없는 일반 작성자 규칙이 레이어 규칙 이후에 적용될 수 있으며 이를 능가할 수 있다는 점을 기억하세요.

코드에서 사용된 이름

@layer reset, base, components, utilities, overrides

출시하기 전에

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 캐스케이드 레이어 (Cascade Layers)。 User context:한 사이트가 `@layer reset, tokens, components, utilities, overrides`를 선언합니다. 레이어가 나중에 나오는 낮은 가중치 유틸리티는 복잡한 컴포넌트 선택자를 이길 수 있습니다. 벤더 CSS는 가장 초기 레이어에 들어가며, 임시 오버라이드는 더 긴 선택자를 남기지 않고 제거할 수 있습니다. Design concept to apply:캐스케이드 레이어 (Cascade Layers)。 Why it fits:재설정, 종속성, 구성 요소, 유틸리티 및 제품 재정의를 위한 하나의 공유 계층 순서를 설정합니다. 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 캐스케이드 레이어 (Cascade Layers) is used now. Definition: 캐스케이드 레이어는 CSS 규칙의 순서를 설정하는 이름이 붙은 그룹입니다. 브라우저는 선택자 특이성을 비교하기 전에 이 순서를 확인합니다. 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 Cascading and Inheritance Level 5 — Cascade layer ordering Cascade layer ordering 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · W3C CSS Working Group · 초안 CSS Cascading and Inheritance Level 5 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현

직접 복사

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