Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Auto-Flip on Hover to Cards on Autobiography, Psychological Thriller, Satire, Experimental Fiction, and Utopian Pages #4703

Closed
wants to merge 2 commits into from

Conversation

neeru24
Copy link
Contributor

@neeru24 neeru24 commented Nov 6, 2024

fixes: #4701

This pull request implements an auto-flip feature on hover for cards across the following pages:

  • Autobiography
  • Psychological Thriller
  • Satire
  • Experimental Fiction
  • Utopian

Previously, users might not realize that the cards on these pages were interactive and could be clicked to reveal additional content. Adding an auto-flip effect on hover makes this interactivity more intuitive and enhances the user experience.

Changes Made

  • CSS Updates: Added transform and transition properties to enable a smooth flip animation on hover.
  • Card Component Modifications: Structured the card to display both front and back content with CSS-based transitions.
  • Cross-Browser Testing: Ensured smooth transitions and compatibility across all supported devices and browsers.

How It Works

  • When a user hovers over a card, it automatically flips to show the back content.
  • The card remains flipped briefly, then reverts to the front when the user’s mouse leaves the card.

Kindly merge it with LEVEL 2 or 3 @abhi03ruchi

Made changes to 5 files...

VID-20241106-WA0002.mp4

Copy link

vercel bot commented Nov 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
swapreads ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 2:25pm

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

netlify bot commented Nov 6, 2024

Deploy Preview for swapreadsconnect ready!

Name Link
🔨 Latest commit 2e408db
🔍 Latest deploy log https://app.netlify.com/sites/swapreadsconnect/deploys/672b7c355b563d0008881d29
😎 Deploy Preview https://deploy-preview-4703--swapreadsconnect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sailaja-adapa
Copy link
Collaborator

your idea is very good @neeru24 but recently we had improved those sections
create new PR with updated branch and notfity me
sorry for delay

@abhi03ruchi
Copy link
Collaborator

u can work on enhancing genre section cards .

Screenshot 2024-11-07 at 1 21 17 AM

@abhi03ruchi
Copy link
Collaborator

chk pages in home page footer , some of them need enhancement like https://swapreadsconnect.netlify.app/assets/html/connreader , https://swapreadsconnect.netlify.app/assets/html/read_later etc...

u can work on these issues and raise pr .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Auto-flip cards on hover to reveal back content
3 participants