Morse Blink Text
モールス風の点滅
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - 文字が1つずつ、2回ほど明滅してから点灯した状態で固定される - 信号が届いて確定していくような見え方になる 【品質要件】 - 明滅は段階的に切り替え、滑らかにフェードさせない - 消灯時も完全な透明にはせず、文字の位置が分かる程度に残す - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 演出中も文字が判読できなくなる時間を作らない。レイアウトを揺らさない
[Target element] - Apply to one piece of text on your site (a heading, a tagline, a lead paragraph, etc.) [Motion] - Characters blink about twice each before locking on, one after another - It reads like a signal arriving and being confirmed [Quality requirements] - Switch the blinks in hard steps rather than smooth fades - Even when off, keep them faintly visible so the character positions stay readable - 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.