<div class="cp_arrows">
<div><i class="cp_arrow_left"></i>Arrow:left</div>
<div><i class="cp_arrow_right"></i>Arrow:right</div>
<div><i class="cp_arrow_up"></i>Arrow:up</div>
<div><i class="cp_arrow_down"></i>Arrow:down</div>
<div><i class="cp_arrow_left_up"></i>Arrow:leftup</div>
<div><i class="cp_arrow_left_down"></i>Arrow:leftdown</div>
<div><i class="cp_arrow_right_up"></i>Arrow:rightup</div>
<div><i class="cp_arrow_right_down"></i>Arrow:rightdown</div>
</div>
.cp_arrows [class*='cp_arrow'] {
position: relative;
vertical-align: middle;
display: inline-block;
}
.cp_arrows [class*='cp_arrow']::before,
.cp_arrows [class*='cp_arrow']::after {
content: '';
}
.cp_arrows [class*='cp_arrow'] {/*ベースの丸*/
margin: 0px 0px 10px;
width: 25px;
height: 25px;
border-radius: 3px;
background: #009688;
}
.cp_arrows [class*='cp_arrow']::after {/*三角形の設定*/
position: absolute;
top: 5px;
right: 5px;
border-width: 0 10px 10px 0;
border-style: solid;
border-color: transparent #fff transparent transparent;
}
/*それぞれの角度*/
.cp_arrows .cp_arrow_left::after {
top: 8px;
transform: rotate(-135deg);
}
.cp_arrows .cp_arrow_right::after {
top: 8px;
right: 10px;
transform: rotate(45deg);
}
.cp_arrows .cp_arrow_up::after {
top: 10px;
right: 7px;
transform: rotate(-45deg);
}
.cp_arrows .cp_arrow_down::after {
top: 5px;
right: 7px;
transform: rotate(135deg);
}
.cp_arrows .cp_arrow_left_up::after {
top: 8px;
right: 6px;
transform: rotate(-90deg);
}
.cp_arrows .cp_arrow_left_down::after {
top: 8px;
right: 6px;
transform: rotate(180deg);
}
.cp_arrows .cp_arrow_right_up::after {
top: 8px;
right: 8px;
transform: rotate(0deg);
}
.cp_arrows .cp_arrow_right_down::after {
top: 6px;
right: 8px;
transform: rotate(90deg);
}