CSS Positioning
CSSポジショニング
CSSポジショニングは、要素が何に対して配置されるかを示します。通常のフロー、自身、先祖、またはビューポートを参照として使用する場合があります。
もう一つの例
バッジは、アバターの中で絶対位置(absolute)を使って配置されるよ。アバターの親要素は相対位置(relative)を使うんだ。
主な部分
- 01Outer constraint
- 02Content and spacing model
- 03Computed size or reflow result
以下の場合に使用します
要素が明確な項目や領域に固定されるべき場合は、位置指定を使用します。
以下の場合は使用しないでください
実際のレスポンシブレイアウトの代わりに絶対位置指定を使用してはいけません。
コードで使用する名前
position: relative | absolute 出荷前に
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 Positioning)。 User context:バッジは、アバターの中で絶対位置(absolute)を使って配置されるよ。アバターの親要素は相対位置(relative)を使うんだ。 Design concept to apply:CSSポジショニング (CSS 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 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.