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

Fix: Stable and Smooth Social Media Icons Hover Animation #335

Closed
wants to merge 4 commits into from

Conversation

ahmedrazabaloch
Copy link
Contributor

Solution:

Fixed the hover effect to ensure that the icons do not move but smoothly animate by scaling up slightly.
Ensured that the border doesn't cause any shifting during hover by making the border transparent rather than removing it entirely.
Added a more subtle scale animation for a smoother and more refined hover experience.

Changes:

Added box-sizing: border-box; to maintain the layout.
Set a slight scale transform (scale(1.01)) for the hover effect to provide a more consistent animation.
Adjusted border behavior during hover to prevent size changes.

before

before

after

after

@ahmedrazabaloch
Copy link
Contributor Author

@Anshgrover23 please checkout the this PR then i work on other things

@ahmedrazabaloch
Copy link
Contributor Author

@Anshgrover23 please accept it or commit your query

@ahmedrazabaloch ahmedrazabaloch closed this by deleting the head repository Oct 31, 2024
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