Add Hover Interactions to Website Cards

A reusable instruction for adding hover effects and smooth transitions to interactive cards when building a website with ChatGPT.

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

Prompt template

Format
Text
Outputs
Website (code)
When creating or updating a website, add hover states to all interactive cards using `group-hover:translate-y-[-4px]` and smooth transitions using `transition-all duration-300`.

What you'll create

Cards lift by four pixels with a three-hundred-millisecond transition, creating consistent hover feedback.

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