CSS Anchor Positioning
CSS 앵커 위치
CSS 앵커 위치는 하나의 상자를 다른 명명된 앵커 요소를 기준으로 배치합니다.
다른 예시
테이블의 도움말 팝오버는 정보 버튼에 고정되며 처음에는 그 아래에 열리려고 시도합니다. 뷰포트 끝에 12px만 남으면 `position-try`가 위로 이동시킵니다. 앵커 위치 지정이 박스를 배치합니다. 포커스나 닫기를 제어하지 않습니다. 이러한 동작은 별도로 구현하십시오.
주요 부분
- 01앵커 요소
- 02위치 지정 상자
- 03대체 위치 옵션
사용할 때
트리거를 따라야 하고 명확한 백업 위치가 있어야 하는 툴팁, 팝오버, 메뉴 및 메모에 사용하세요.
다음 경우에는 사용하지 마세요
앵커 위치 지정은 포커스를 관리하거나 모든 가장자리 충돌 문제를 해결하지 않습니다. 브라우저와 처리할 수 없는 경우를 위해 강력한 대체 방법을 유지하세요.
코드에서 사용된 이름
anchor-name + position-anchor + position-area/anchor() + position-try 출시하기 전에
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 CSS 앵커 위치 (CSS Anchor Positioning)。 User context:테이블의 도움말 팝오버는 정보 버튼에 고정되며 처음에는 그 아래에 열리려고 시도합니다. 뷰포트 끝에 12px만 남으면 `position-try`가 위로 이동시킵니다. 앵커 위치 지정이 박스를 배치합니다. 포커스나 닫기를 제어하지 않습니다. 이러한 동작은 별도로 구현하십시오. Design concept to apply:CSS 앵커 위치 (CSS Anchor Positioning)。 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 CSS 앵커 위치 (CSS Anchor Positioning) 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.