Fixed Position
位置を修正
CSS固定位置指定は、通常ブラウザウィンドウである固定コンテナに対してボックスを配置します。ドキュメントがスクロールしてもボックスは通常その場所に留まります。
もう一つの例
閉じることができる緊急制御は、電話画面の安全領域内に留まります。スクロール中も到達可能で、フォーカスされたコンテンツや画面上のキーボードを覆いません。変形された親要素は、固定されるボックスを変更することがあります。
主な部分
- 01含まれるブロックを修正
- 02ビューポートインセット
- 03オーバーラップ管理
以下の場合に使用します
この用語は、ウィンドウレベルのコントロールや本当に一箇所に留まる必要がある面に対してのみ、控えめに使用してください。
以下の場合は使用しないでください
コンテンツを隠したり、領域に到達できなくしたり、セクションとともに移動すべきUIを固定しないでください。
コードで使用する名前
position: fixed; inset: … 出荷前に
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 位置を修正 (Fixed Position)。 User context:閉じることができる緊急制御は、電話画面の安全領域内に留まります。スクロール中も到達可能で、フォーカスされたコンテンツや画面上のキーボードを覆いません。変形された親要素は、固定されるボックスを変更することがあります。 Design concept to apply:位置を修正 (Fixed Position)。 Why it fits:この用語は、ウィンドウレベルのコントロールや本当に一箇所に留まる必要がある面に対してのみ、控えめに使用してください。 Do not use it when:コンテンツを隠したり、領域に到達できなくしたり、セクションとともに移動すべきUIを固定しないでください。 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 位置を修正 (Fixed Position) 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.