Skip to content

Conversation

@KrishLalakiya
Copy link
Contributor

Description

Added Parent div and assign hover to it so if you are initially hovering the card then animation will continue, only go back when you leave that parent div. So no more stutter in animation.

Before Fix

Screen.Recording.2025-10-29.025046.mp4

After Fix

Screen.Recording.2025-10-29.030331.mp4

Description:
This PR fixes several mobile layout bugs and improves site usability.

Changes Made:

Responsive Header:

Added display: flex to the desktop header to correctly align the logo and nav links.

Implemented a CSS-only "hamburger menu" for mobile (using the "checkbox hack"). The menu is now functional and animates open and closed.

Centered Gallery:

Added align-items: center to the .card-grid media query. This now centers the cards properly when they stack on mobile.

Accessibility Fix:

Corrected the low-contrast text. The default body text is now dark, and color: #fff is only used on sections with dark backgrounds (like the header and footer).
Introduced a new .card-wrapper div to encapsulate the card container, improving the structure and separation of the 3D flipping card component. Updated CSS to reflect the new hierarchy and adjusted hover effect to target the container within the wrapper.
@KrishLalakiya KrishLalakiya changed the title Fixes 948 3D Flipping Card Component animation stutter and Closes #948 Fixed 3D Flipping Card Component animation stutter and Closes #948 Oct 28, 2025
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.

1 participant