"food gallery"
Bootstrap 3.3.0 Snippet by evarevirus

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 ---------->
<h1 class="title">Flip Menu. Clickable/Responsive/Pure CSS</h1>
<p class="creds">Created by <a target="_blank" href="https://twitter.com/fornyhucker">fornyhucker</a></p>
<div class="flip-menu">
<section class="flip-item-wrap">
<img class="fake-image" src="http://lorempixel.com/500/500/food/1" alt=""><!-- this image will add height to parent element -->
<input type="checkbox" class="flipper" id="a">
<label for="a" class="flip-item">
<figure class="front"><img src="http://lorempixel.com/500/500/food/1" alt=""></img></figure>
<figure class="back">
<img src="http://lorempixel.com/g/500/500/food/1" alt=""></img>
<div class="flip-item-desc">
<h4 class="flip-item-title">Lorem ipsum dolor</h4>
<p>Dolor sit amet, consectetur adipiscing elit. Vestibulum posuere turpis lacus.</p>
</div>
</figure>
</label>
</section>
<section class="flip-item-wrap">
<img class="fake-image" src="http://lorempixel.com/500/500/food/1" alt=""><!-- this image will add height to parent element -->
<input type="checkbox" class="flipper" id="b">
<label for="b" class="flip-item">
<figure class="front"><img src="http://lorempixel.com/500/500/food/2" alt=""></img></figure>
<figure class="back">
<img src="http://lorempixel.com/g/500/500/food/2" alt=""></img>
<div class="flip-item-desc">
<h4 class="flip-item-title">Lorem ipsum dolor</h4>
<p>Dolor sit amet, consectetur adipiscing elit. Vestibulum posuere turpis lacus.</p>
</div>
</figure>
</label>
</section>
<section class="flip-item-wrap">
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
body{
margin:0;
font: 14px Helvetica, Arial, serif;
}
.title {
text-align: center;
color: #333;
font-size: 1.6em;
}
.creds {
text-align: center;
color: #666;
font-size: 0.85em;
}
.creds a {
color: #000;
text-decoration: none;
border-bottom: 1px dotted #000;
}
.flip-menu{
margin: 30px 0 0;
}
.flip-item-wrap{
width: 25%;
height: auto;
float: left;
position:relative;
-webkit-perspective:800px;
-moz-perspective:800px;
-ms-perspective:800px;
-o-perspective:800px;
perspective:800px;
}
@media screen and (min-width: 1280px) {
.flip-item-wrap{
width: 16.6%;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: