Breathing Text
呼吸する明滅
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - テキストの明るさがゆっくり上下し、呼吸しているように見える - 動きはこれだけで、位置もサイズも変えない 【品質要件】 - 1周期は2.5〜3秒。速い点滅にせず、常に滑らかに変化させる - 最も暗い状態でも文字が読める明るさを保つ - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 演出中も文字が判読できなくなる時間を作らない。レイアウトを揺らさない
[Target element] - Apply to one piece of text on your site (a heading, a tagline, a lead paragraph, etc.) [Motion] - The brightness of the text rises and falls slowly, as if it were breathing - That is the whole motion; nothing moves or scales [Quality requirements] - Use a 2.5-3s cycle. Never a fast blink; always a smooth change - Keep it readable even at its dimmest - 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.