nnattawat / flip

A lightweight jQuery plugin to make 3D card flipping animation
Other
624 stars 312 forks source link

Initial hover effect before click - Canceled out after first click. #128

Open level42ca opened 6 years ago

level42ca commented 6 years ago

I have a simply hover effect on the cards before they are clicked:

.front:hover { transform-style: preserve-3d; transform: rotateY(10deg); transition: transform .5s; }

This works fine, except, once I click on the card for it to flip, then flip it back, the hover effect no longer works until the page is refreshed.

Any ideas what's happening?

[edit] Trying to create this effect with flip.js

https://codepen.io/RuudBurger/pen/bwjry