"Bootstrap Flip Social Share Thumbnails"
Bootstrap 3.3.0 Snippet by AtiqUrRehman

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<h2>Bootstrap Flip Thumbnails</h2>
<div class="col-xs-6 col-md-3">
<div class="bs-flipper thumbnail" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
<img data-src="holder.js/100%x180" alt="100%x180" src="http://icons.iconarchive.com/icons/simekonelove/modern-web/256/facebook-icon.png" data-holder-rendered="true" style="height: 256px; width: 100%; display: block;">
</div>
<div class="back">
<img data-src="holder.js/100%x180" alt="100%x180" src="https://cdn1.iconfinder.com/data/icons/metro-uinvert-dock/256/Share_alt_1.png" data-holder-rendered="true" style="height: 256px; width: 100%; display: block;">
</div>
</div>
</div>
</div>
<!-- 2 -->
<div class="col-xs-6 col-md-3">
<div class="bs-flipper thumbnail" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
<img data-src="holder.js/100%x180" alt="100%x180" src="http://icons.iconarchive.com/icons/simekonelove/modern-web/256/digg-icon.png" data-holder-rendered="true" style="height: 256px; width: 100%; display: block;">
</div>
<div class="back">
<img data-src="holder.js/100%x180" alt="100%x180" src="https://cdn1.iconfinder.com/data/icons/metro-uinvert-dock/256/Share_alt_1.png" data-holder-rendered="true" style="height: 256px; width: 100%; display: block;">
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.bs-flipper {
-webkit-perspective: 1000;
-moz-perspective: 1000;
-o-perspective: 1000;
perspective: 1000;
border: 1px solid #ccc;
}
.bs-flipper:hover .flipper,
.bs-flipper.hover .flipper {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.bs-flipper, .front, .back {
width: 100%;
height: 266px;
}
.flipper {
-webkit-transition: 0.6s;
-webkit-transform-style: preserve-3d;
-moz-transition: 0.6s;
-moz-transform-style: preserve-3d;
-o-transition: 0.6s;
-o-transform-style: preserve-3d;
transition: 0.6s;
transform-style: preserve-3d;
position: relative;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: