Line Wipe Text
行ごとにワイプ
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - 各行が左から右へ、見えている範囲を広げながら上の行から順に現れる - 文字は動かず、見える範囲だけが伸びていく 【品質要件】 - 1行あたり0.6秒、行ごとの時間差は130ms - 読む方向と同じ左→右で統一する - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 演出中も文字が判読できなくなる時間を作らない。レイアウトを揺らさない
[Target element] - Apply to one piece of text on your site (a heading, a tagline, a lead paragraph, etc.) [Motion] - Each line is uncovered from left to right, appearing from the top line down - The glyphs never move; only the visible region extends [Quality requirements] - 0.6s per line, staggered about 130ms - Keep every line running left to right for consistency - 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.