Add Clickable Cards and Smooth Modal Interactions

A prompt snippet for implementing interactive cards and smoothly appearing modals on a website.

Виктория | Сайты через ИИ Republished on Oct 11 0 Bookmarks 0 Copies
Bookmark 0

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

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each