3D Press Button
A button with thickness underneath presses down flat like a physical key
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A button that feels like a physical key: beneath the button sits a darker “thickness” in the same color family (a non-blurred shadow underneath), plus a soft drop shadow around it; on hover the button lifts slightly and the thickness grows; when pressed the whole button pushes down almost flat as the thickness and shadow shrink, springing back on release. About 0.12 s, snappy. (CSS: box-shadow: 0 6px 0 darker color, 0 10px 20px semi-transparent; on :active translateY(5px) and shrink the first shadow to 1px)
When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.
How to use it
- Tap “Copy AI prompt”.
- Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More button effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →