Transition
トランジション
トランジションは、決まった時間で、2つの決まった見た目の間を移動します。
transition実際の例
ホバー時に、ボタンの背景とサイズが休止状態から滑らかに変化します。
主な部分
- 01トリガー
- 02Property change
- 03Timing model
- 04Reduced-motion result
以下の場合に使用します
開始と終了が分かっている単純な状態の変化には、トランジションを使用してください。
以下の場合は使用しないでください
transition-all を使用してはいけません。レイアウトやアクセシビリティの変更が不必要にアニメーションする可能性があります。
コードで使用する名前
transition 出荷前に
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 トランジション (Transition)。 User context:ホバー時に、ボタンの背景とサイズが休止状態から滑らかに変化します。 Design concept to apply:トランジション (Transition)。 Why it fits:開始と終了が分かっている単純な状態の変化には、トランジションを使用してください。 Do not use it when:transition-all を使用してはいけません。レイアウトやアクセシビリティの変更が不必要にアニメーションする可能性があります。 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 トランジション (Transition) is used now. Definition: トランジションは、決まった時間で、2つの決まった見た目の間を移動します。 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.