JavaScript Visual issue with css3 animation and jquery (hover flip card) issue with visual voicemail

Read me: --> Im having troubles when I hover the flip card, if you move the cursor while hovering inside the div is triggering continuously and it makes an annoying effect, so here is what I need:

1) I want to hover the flip card and dont trigger animation again even you move the cursor inside while hovering.

2) I also need center p tag vertically in the flip card, margin-top is working and margin:auto is not working, I put the 2 examples in the snippet, check next classes:

.card .front p {
    margin-top: 100px;
}
.card .back p {
    margin: auto;
}

So why is not working margin:auto? I wont use margin-top, need the content at the center. Here is the working snippet code:

Updated question: I also need achieve the next: one time you hover the flip card the animation must be completed, even you hover out the div, and then flip to the original position again, I tried next but it doesnt work:

$(".container").hover(function(){
            $(this).find(".card").toggleClass('flipped')
        }, function(){
            setTimeout(function(){ 
                $(this).find(".card").toggleClass('flipped')
            }, 1000);
    });

$(document).ready(function () {
    $(".card").hover(function(){
            $(this).toggleClass('flipped')
        }, function(){
            $(this).toggleClass('flipped')
    });
})
.container {
    width: 200px;
    height: 260px;
    position: relative;
    margin: 0 auto 40px;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    display: inline-block;
}
#main{
    border: 1px solid black;
}
button{
    width: 30%;
    height: 10%;
    margin-top: 100px;
    cursor: default;
}

.card {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    -o-transform-origin: right center;
    transform-origin: right center;
}

.card.flipped {
    -webkit-transform: translateX( -100%) rotateY( -180deg);
    -moz-transform: translateX( -100%) rotateY( -180deg);
    -o-transform: translateX( -100%) rotateY( -180deg);
    transform: translateX( -100%) rotateY( -180deg);
}

.card div {
    height: 100%;
    width: 100%;
    color: white;
    text-align: center;
    font-weight: bold;
    position: absolute;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    cursor:pointer;
}

.card .front {
    background: red;
}
.card .front p {
    margin-top: 100px;
}
.card .back p {
    margin: auto;
}

.card .back {
    background: blue;
    -webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="container-fluid">
        <div id="main"><br>
        <section class="container">
            <div class="card">
                <div class="front"><p>Test</p></div>
                <div class="back">
                    <p>MyBack</p> 
                </div>
            </div>
        </section>
        </div>
    </div>
Answer:1

I have a function that is inside a factory API.doRetrieveResults = function(name, id, values, row) { // alert(angular.toJson(values)); var getdata = { 'operation': 'RetrieveResults', '...

I have a function that is inside a factory API.doRetrieveResults = function(name, id, values, row) { // alert(angular.toJson(values)); var getdata = { 'operation': 'RetrieveResults', '...

I want to code to calculate the total number of adult, child and baby passengers. I tried with jquery but did not count the total number of all the passengers. Thanks in advance https://jsfiddle.net/...

I want to code to calculate the total number of adult, child and baby passengers. I tried with jquery but did not count the total number of all the passengers. Thanks in advance https://jsfiddle.net/...

  1. calculate total number of combinations
  2. calculate total number of days
  3. calculate total number of allowances
  4. calculate total number of hours
  5. calculate total number of possible combinations
  6. calculate total number of permutations
  7. calculate total number of hours in excel
  8. calculate total number of days in excel
  9. calculate total number from percentage
  10. calculate total number of outcomes
  11. calculate total number of atoms
  12. calculate total number of rows in excel
  13. calculate total number of subnets
  14. calculate total number of microstates
  15. calculate total number of options
  16. calculate total number of ions in a compound
  17. calculate total number of cells in excel
  18. calculate total number of coalitions
  19. calculate total number in excel
  20. calculate total number of stereoisomers

I have an array as such: [[1,3],[2,5],[1,3],[2,5]] and i would like to remove any duplicate sub-arrays. I tried using this code: uniqueArray = array.filter(function(item, pos) { return array....

I have an array as such: [[1,3],[2,5],[1,3],[2,5]] and i would like to remove any duplicate sub-arrays. I tried using this code: uniqueArray = array.filter(function(item, pos) { return array....

  1. remove duplicate arrays javascript
  2. remove duplicate arrays
  3. remove duplicate arrays python
  4. remove duplicate arrays php
  5. removing duplicate array in java
  6. removing duplicate array elements
  7. remove duplicate array js
  8. remove duplicate array object javascript
  9. remove duplicate array elements javascript
  10. remove duplicate array values php
  11. remove duplicate array swift
  12. remove duplicate array in c
  13. remove duplicate array values javascript
  14. remove duplicate array vba
  15. remove duplicate array typescript
  16. remove duplicate array jquery
  17. remove duplicate array elements in java
  18. remove duplicate array lodash
  19. remove duplicate array ruby
  20. remove duplicate array javascript es6

I have following code in my javascript var _csrf = $("#csrf_token").val(); var xhr = $.ajax ({ url : 'http://ip.jsontest.com/', type : 'GET', contentType ...

I have following code in my javascript var _csrf = $("#csrf_token").val(); var xhr = $.ajax ({ url : 'http://ip.jsontest.com/', type : 'GET', contentType ...

  1. error ajax call
  2. error ajax call jquery
  3. ajax error call function
  4. error ajax request failed
  5. error ajax request
  6. error ajax request failed joomla
  7. cors error ajax call
  8. error during ajax call
  9. error 500 ajax call
  10. 400 error ajax call
  11. get error ajax call
  12. error message ajax call
  13. 415 error ajax call
  14. success error ajax call
  15. error handling ajax call
  16. 404 error ajax call
  17. catch error ajax call
  18. return error ajax call
  19. ajax error request entity too large
  20. ajax error request object