Issue on Having 3 Faces Flip Using jQuery
I am trying to create a Three Face Flip function in CSS3 and jQuery at
this demo . Can you please take a look at the demo and let me know why the second face is missing?
Can you also please let me know how I can set up a Time out to flip all three faces every 10 seconds?
- <div class="flip">
- <div class="card">
- <div class="face one">
- One
- </div>
- <div class="face two">
- Two
- </div>
- <div class="face three">
- Three
- </div>
- </div>
- </div>
- $('.flip').click(function(){
- $(this).find('.card').addClass('flipped').mouseleave(function(){
- $(this).removeClass('flipped');
- });
- return false;
- });