CSS Arrow

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
.arrow-left {
  display: inline-block;

  
  position: relative;
  width: 0; 
  height: 0; 
  border-top: 0.35em solid transparent;
  border-bottom: 0.35em solid transparent; 
  /* arrow border color */
  border-right: 0.35em solid blue; 
}

.arrow-left:after {
  content: "";
  position: absolute;
  top: -0.35em;
  left: 1px;
  width: 0; 
  height: 0; 
  border-top: 0.35em solid transparent;
  border-bottom: 0.35em solid transparent; 
  /* arrow color */
  border-right: 0.35em solid #fff; 
}

Demo at https://codepen.io/bndynet/pen/qvWxNy