"new Side Button"
Bootstrap 4.1.1 Snippet by SANTANU CHOWDHURY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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="container">
<div class="row">
<div class="card" tabindex="0">
<span class="card__infoicon">
<i class="fa fa-info"></i>
</span>
<h1 class="card__title">This is a title</h1>
<p class="card__description">Lorem ipsum dolor sit amet and this is all the lorem ipsum text I remember</p>
</div>
</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: grid;
place-content: center;
align-items: center;
font-family: "nunito", sans-serif;
background-color: #0099ff;
}
.card {
position: absolute;
background-color: #0099ff;
position: relative;
padding: 42px 32px;
clip-path: circle(5% at 95% 13%);
transition: all ease-in-out 0.3s;
background-color: #ffffff;
top: 20%;
position: absolute;
}
.card__infoicon {
position: absolute;
top: 10px;
right: 28px;
font-size: 1.4em;
color: #000000;
transition: ease-out 0.3s;
}
.card__title {
margin: 0;
font-size: 3em;
line-height: 1.8;
}
.card__description {
margin: 0;
font-size: 1.1em;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: