Flip Land Text
反転して着地
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - テキストが上下反転した状態から、横軸まわりに半回転して正しい向きで着地する - 着地時にわずかに行き過ぎてから戻る弾みをつける 【品質要件】 - 回転は180度から0度へ、時間は0.9秒 - 回転中に文字が反転して読める時間が長くならないよう、前半を速くする - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 演出中も文字が判読できなくなる時間を作らない。レイアウトを揺らさない
[Target element] - Apply to one piece of text on your site (a heading, a tagline, a lead paragraph, etc.) [Motion] - The text starts upside down and rotates a half turn around its horizontal axis to land upright - Add a small overshoot on landing before it settles [Quality requirements] - Rotate from 180 to 0 degrees over about 0.9s - Keep the first half fast so the text does not sit readable-but-inverted for long - When prefers-reduced-motion is set, disable the animation and show the finished state from the start - Never let the text become unreadable during the animation, and never shift the surrounding layout
Prompts and demo code are free to use in your own projects. See About.