"card shop"
Bootstrap 3.0.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="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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='background image'></div>
<div class='background overlay'>
<div class='section'>
<div class='photos inline'>
<img class='main-photo active' id='lg-1' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0005_Layer-68.png'>
<img class='main-photo' id='lg-2' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0009_Layer-63.png'>
<img class='main-photo' id='lg-3' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0006_Layer-67.png'>
<div class='small-photos'>
<div class='sub'>
<img class='sub-photo' id='sm-1' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0005_Layer-68.png'>
</div>
<div class='sub'>
<img class='sub-photo' id='sm-2' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0009_Layer-63.png'>
</div>
<div class='sub'>
<img class='sub-photo' id='sm-3' src='https://trakke.co.uk/wp-content/uploads/2015/11/LAYOUT_0006_Layer-67.png'>
</div>
</div>
</div><div class='content inline'>
<div class='header'><span class='name'>Óg</span><span class='price'>£160</span></div>
<div class='body'><span class='category'>Backpack</span><span class='material'>Ventile Cotton</span><span class='body-header'>Designer's Notes</span>The Óg is the everyday explorers backpack. Constructed from Ventile cotton with a durable waxed cotton base, the lightweight Óg is adapted for adventure in even the harshest conditions. One large compartment stows all your expedition kit and a roll-top closure ensures your gear stays in and the weather stays out. A near-seamless design minimises snag risk and leaks, leaving you to focus on the task at hand.
</div>
<div class='footer'>
<a href='https://trakke.co.uk/shop/og-2/' target='_blank'>Add to Cart</a>
</div>
</div></div>
</div>
<script>
var photos = document.querySelectorAll(".sub-photo");
var mainPhotos = document.querySelectorAll(".main-photo");
var activePhoto = "";
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
* {
transition: 0.4s ease all;
box-sizing: border-box;
font-family: "Avenir";
}
.background {
position: fixed;
top: -10px;
right: -10px;
left: -10px;
bottom: -10px;
background-size: cover;
overflow: scroll;
}
.background.image {
filter: blur(5px) grayscale(100%);
-webkit-filter: blur(5px) grayscale(100%);
background: url("https://trakke.co.uk/wp-content/uploads/2014/12/IMG_0504.jpg") center center no-repeat;
background-size: cover;
}
.background.overlay {
background: linear-gradient(45deg, rgba(255, 245, 18, 0.2), rgba(103, 97, 68, 0.8));
}
.section {
z-index: 1;
background-color: white;
width: 600px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
margin: 100px auto;
position: relative;
}
.section img.main-photo {
width: 300px;
opacity: 0;
visibility: hidden;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: