I think this is your perfect answer.
.flip
{
height: 199px;
width: 300px;
margin: 0 auto;
}
.flip img
{
width: 300px;
height: auto;
}
.flip .back
{
background: #2184cd;
color: #fff;
text-align: center;
}
<head>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery-Flip/1.1.2/jquery.flip.min.js"></script>
<script>
$(function () {
$(".flip").flip({
trigger: 'hover'
});
});
</script>
<script>
$(function () {
$(".flip").flip({
trigger: 'hover',
axis: 'y'
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div class="flip">
<div class="front">
<img src="https://s-media-cache-ak0.pinimg.com/originals/b8/d6/02/b8d60211137a9b9aca275adeb594d0c7.jpg" alt="" />
</div>
<div class="back">
<img src="https://s-media-cache-ak0.pinimg.com/originals/b8/d6/02/b8d60211137a9b9aca275adeb594d0c7.jpg" alt="" />
</div>
</div>
</form>
</body>
4
solved i am working on flip image but it’s not working [closed]