DEV Community

loading...

Discussion on: Review my Portfolio?

oscherler profile image
Olivier “Ölbaum” Scherler

Yes, since the animation was on the element with the :hover pseudoclass, its bounds were changing as it was rotating, making it basically dodge the mouse pointer, especially if you approached the card from the side.

Thread Thread
eblairmckee profile image
Blair McKee Author

That is a great thought experiment for teaching CSS animations... I may use this in the future ☺️ thank you