Pixelate Reveal Text
ピクセル解除
Generation Prompt
【対象要素】 - サイト内のテキスト1箇所(見出し・キャッチコピー・リード文等)に適用する 【演出内容】 - テキストの上に細かい市松状の覆いがかかった状態から始まり、覆いが段階的に薄れて文字が出てくる - 滑らかではなく数段階で切り替え、解像度が上がっていくように見せる 【品質要件】 - 段階は5段階程度。市松のマス目は10px以下にする - 全体で0.8秒前後。覆いは最後に完全に消す - 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 behind a fine checkered cover which thins out in stages until the glyphs come through - Switch in discrete steps rather than smoothly, so it reads as resolution increasing [Quality requirements] - Use about five steps with a checker cell of 10px or less - Take about 0.8s and remove the cover completely at the end - 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.