"Untitled"
Bootstrap 4.1.1 Snippet by dkstudio

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class='card'>
<div class='img-cont'>
<span class='drop-down-window'>25 USD</span>
<img class='img' src="https://images.unsplash.com/photo-1600195958024-0eb8a5aff3b5?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="">
</div>
<div class='content-cont'>
<span class='card-header'>Standard</span>
<span class='card-body'>Get the most economic subscription and start your journey to the pro world </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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.card {
box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
border-radius: 15px;
width: 300px;
overflow: hidden;
}
.card .img-cont {
overflow: hidden;
position: relative;
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}
.card .img-cont img {
z-index: 0;
width: 100%;
transform: scale(1.2);
transition: all 0.3s;
}
.card .content-cont span {
display: block;
}
.card .content-cont .card-header {
text-transform: uppercase;
font-weight: bold;
padding-bottom: 10px;
font-size: 20px;
}
.card .content-cont .card-body {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: