Live preview · fully interactive
The prompt
Build a liquid-fill button. ## Look Pill button, padding 16px 36px, 16px type, weight 650, 1px border #7c6cff, transparent background, text #f2f2f7, radius 999px. Page #08080d. ## Behavior An absolutely positioned layer grows from height 0 at the bottom to 100% on hover and foc
Full prompt (693 chars) unlocks after purchase
The code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
background: #08080d; color: #f2f2f7; font-family: Inter, system-ui, sans-serif;
min-height: 100vh; overflow: hidden;
}
.hint { position: absoluComplete self-contained HTML unlocks after purchase
About this effect
A pill button fills with violet from the bottom over 0.45s on hover and the label turns white. The paid button flagship.