3D Word Rotator Text
3D回転で語が切替
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - 同じ位置で単語が入れ替わり続け、切り替えは横軸まわりの回転で行う - 出ていく語は奥へ倒れ、入る語は手前に起き上がるので、立体が回っているように見える 【品質要件】 - 1語の表示時間は1.5〜2秒、回転は0.3秒程度 - 回転の途中で文字が裏返って読めない時間を長く作らない - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 演出中も文字が判読できなくなる時間を作らない。レイアウトを揺らさない
[Target element] - Apply to one piece of text on your site (a heading, a tagline, a lead paragraph, etc.) [Motion] - Words replace one another continuously in the same position, switching with a rotation around the horizontal axis - The outgoing word falls away from the viewer and the incoming one rises toward it, so it reads as a solid turning [Quality requirements] - Hold each word 1.5-2s and take about 0.3s to rotate - Do not leave the text mirrored and unreadable for long mid-rotation - 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.