Add Polished Card and Modal Interactions to a Website

A reusable instruction for making website cards interactive and giving modals smooth entrance animations.

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

Prompt template

Format
Text
Outputs
Website (code)
When creating or modifying a website, make all cards clickable. Add a hover effect using `scale-105`, a click effect using `active:scale-95`, and a smooth appearance animation for modal windows.

What you'll create

Cards respond visually to hover and press while modal windows appear with smooth motion.

Frequently asked questions

Which scale effects are specified?

The source uses scale-105 on hover and active:scale-95 on click.

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