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

Enhance Card Interaction: Auto-Flip on Hover #4520

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

neeru24
Copy link
Contributor

@neeru24 neeru24 commented Nov 3, 2024

fixes: #4519

This pull request aims to improve the user experience of the card elements by implementing an automatic flip on hover. Previously, users were required to manually click on the card to reveal its back side. This change eliminates the need for explicit user action, making the interaction more intuitive and engaging.

Kindly merge it @abhi03ruchi with level 2 if possible.
Thank you!!

Changes Implemented:

1. Hover Effect:

  • Added a hover effect to card elements.
  • When the mouse hovers over a card, the inner content rotates 180 degrees on its Y-axis.
  • This creates a flip animation, revealing the back side of the card.

2. Smooth Transition:

  • Applied a 0.6-second transition to the rotation effect.
  • This ensures a smooth and gradual flip animation.

Output:

Recording.2024-11-03.213612.mp4

Copy link

vercel bot commented Nov 3, 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 3, 2024 4:04pm

Copy link
Contributor

github-actions bot commented Nov 3, 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 3, 2024

Deploy Preview for swapreadsconnect ready!

Name Link
🔨 Latest commit 0e0fb93
🔍 Latest deploy log https://app.netlify.com/sites/swapreadsconnect/deploys/67279f00b6315e0008f9d21a
😎 Deploy Preview https://deploy-preview-4520--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.

@atmajaa atmajaa added level2 Intermediate gssoc-ext This contribution is under GirlScript Summer of Code 2024 Extended Edition! hacktoberfest-accepted GSSOC Ext. is collaborated with Hacktoberfest labels Nov 3, 2024
@atmajaa atmajaa merged commit 59c77ab into anuragverma108:main Nov 3, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext This contribution is under GirlScript Summer of Code 2024 Extended Edition! hacktoberfest-accepted GSSOC Ext. is collaborated with Hacktoberfest level2 Intermediate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Lack of Clear User Intent for Interactive Card Elements
2 participants