Add Interactive Hover Effects to Website Cards
Add a subtle, responsive hover interaction to website cards, including a 4px lift, soft colored shadow, and smoothly enlarged inner icon.
Prompt template
- Format
- Text
- Outputs
- InteractiveWebsiteCards (code)
Make the cards interactive: on hover, smoothly move each card upward by 4px (transform: translateY(-4px)), add a soft colored shadow, and smoothly enlarge the icon inside it.
What you'll create
Interactive cards rise slightly as soft tinted shadows appear and their icons enlarge smoothly.
Comments
Tried this prompt? Share what you made, compare results, or ask a question