"arrow css"
Bootstrap 4.1.1 Snippet by ranjit1602

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<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="button-up"></div>
<div class="button-down"></div>
<div class="arrow-right"></div>
<div class="arrow-left"></div>
<div class="long-arrow-right"></div>
<div class="long-arrow-left"></div>
<div class="triangle-bottom"></div>
<div class="triangle-top"></div>
<div class="triangle-right"></div>
<div class="triangle-left"></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 {
background: gray;
}
.button-up,
.button-down {
position: relative;
padding: 5px;
margin: 30px auto;
background: #000;
height: 50px;
width: 50px;
border-radius: 50%;
transition: all 0.2s linear;
}
.button-down:hover {
transform: translate3d(0, 10px, 0);
}
.button-up:hover {
transform: translate3d(0, -10px, 0);
}
.button-up::after,
.button-down::after {
content: "";
position: absolute;
left: 17px;
z-index: 11;
display: block;
width: 25px;
height: 25px;
border-top: 2px solid #fff;
border-left: 2px solid #fff;
}
.button-up::after {
top: 20px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: