Flexbox
플렉스박스
Flexbox는 한 번에 한 방향으로 동작하는 CSS 레이아웃 시스템입니다. 항목들을 행이나 열로 정렬하고 배치합니다.
다른 예시
Toolbar는 왼쪽에 제목을, 오른쪽에 기능을 둬. 모든 컨트롤은 위아래 중앙에 맞춰.
주요 부분
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
사용할 때
정렬, 줄바꿈, 콘텐츠 기반 크기가 필요한 행이나 열에는 Flexbox를 사용하세요.
다음 경우에는 사용하지 마세요
명확한 양방향 레이아웃에는 CSS Grid를 사용하십시오. Flexbox가 행과 열을 함께 관리하도록 강요하지 마십시오.
코드에서 사용된 이름
display: flex 출시하기 전에
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 플렉스박스 (Flexbox)。 User context:Toolbar는 왼쪽에 제목을, 오른쪽에 기능을 둬. 모든 컨트롤은 위아래 중앙에 맞춰. Design concept to apply:플렉스박스 (Flexbox)。 Why it fits:정렬, 줄바꿈, 콘텐츠 기반 크기가 필요한 행이나 열에는 Flexbox를 사용하세요. Do not use it when:명확한 양방향 레이아웃에는 CSS Grid를 사용하십시오. Flexbox가 행과 열을 함께 관리하도록 강요하지 마십시오. 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 플렉스박스 (Flexbox) is used now. Definition: Flexbox는 한 번에 한 방향으로 동작하는 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.