"card carousel"
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 ---------->
<link rel="stylesheet" href="https://unpkg.com/flickity@2.0/dist/flickity.min.css">
<script src="https://unpkg.com/flickity@2.0/dist/flickity.pkgd.min.js"></script>
<div class="carousel-wrapper">
<div class="carousel" data-flickity>
<div class="carousel-cell">
<h3>Product 1</h3>
<a class="more" href="">Explore more</a>
<img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" />
<div class="line"></div>
<div class="price">
<span>225<sup></sup></span>
</div>
</div>
<div class="carousel-cell">
<h3>Product 2</h3>
<a class="more" href="">Explore more</a>
<img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" />
<div class="line"></div>
<div class="price">
<span>225<sup></sup></span>
</div>
</div>
<div class="carousel-cell">
<h3>Product 3</h3>
<a class="more" href="">Explore more</a>
<img src="https://images.unsplash.com/photo-1464305795204-6f5bbfc7fb81?dpr=2&auto=format&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb&crop=" />
<div class="line"></div>
<div class="price">
<span>225<sup></sup></span>
</div>
</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
@import url("https://fonts.googleapis.com/css?family=Hind:400,700");
html, body {
font-family: 'Hind', sans-serif;
margin: 0;
padding: 0;
background-color: #d9e2fd;
width: 100%;
height: 100%;
}
img {
max-width: 100%;
height: auto;
display: block;
}
h3 {
text-align: center;
font-weight: 400;
margin-bottom: 0;
}
.carousel-wrapper {
position: relative;
width: 70%;
height: 70%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #FFFFFF;
background-image: linear-gradient(#FFFFFF 50%, #FFFFFF 50%, #F0F3FC 50%);
box-shadow: 0px 12px 39px -19px rgba(0, 0, 0, 0.75);
overflow: hidden;
}
.carousel-wrapper .carousel {
position: absolute;
top: 50%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

How do I make cards start from left instead of center?

TheAlph000 () - 4 years ago - Reply 0