Fill Up Button
フィルアップ
Generation Prompt
【対象要素】 - サイト内のボタン1点(CTA・リンクボタン・フォームの送信ボタン等)に適用する 【演出内容】 - ホバーすると、液面が上がるように塗りが下から満ちてボタンを覆う - 満ちきるとラベルの色が反転する 【品質要件】 - 満ちる時間は0.35秒前後。等速ではなく、終わりをわずかに減速させる - 塗りは角丸の内側に収める - prefers-reduced-motion 時は演出を無効化し、状態変化だけが分かる静的表示にフォールバックする - ラベルの可読性を落とさない。文字が読めなくなる瞬間を作らない
[Target element] - Apply to a single button on your site (a CTA, a link button, a form submit button, etc.) [Motion] - On hover a fill rises from the bottom like liquid filling the button - Once it is full, the label color inverts [Quality requirements] - The fill takes about 0.35s. Not linear - ease out slightly at the end - Clip the fill inside the rounded corners - When prefers-reduced-motion is set, disable the animation and fall back to a static state change - Never reduce the legibility of the label; do not create a moment where the text cannot be read
Prompts and demo code are free to use in your own projects. See About.