Add Clickable Cards and Smooth Modal Interactions
A prompt snippet for implementing interactive cards and smoothly appearing modals on a website.
Prompt template
- Format
- Text
- Outputs
- Website (code)
Make every card clickable. Add a hover effect using `scale-105` and a click effect using `active:scale-95`. Make modal windows appear smoothly.
What you'll create
Cards scale up on hover and contract during a click, while modal windows enter smoothly.
Comments
Tried this prompt? Share what you made, compare results, or ask a question