<div class="cp_arrows">
<div><span><i class="cp_arrow_left"></i></span>Arrow:left</div>
<div><span><i class="cp_arrow_right"></i></span>Arrow:right</div>
<div><span><i class="cp_arrow_up"></i></span>Arrow:up</div>
<div><span><i class="cp_arrow_down"></i></span>Arrow:down</div>
<div><span><i class="cp_arrow_left_up"></i></span>Arrow:leftup</div>
<div><span><i class="cp_arrow_left_down"></i></span>Arrow:leftdown</div>
<div><span><i class="cp_arrow_right_up"></i></span>Arrow:rightup</div>
<div><span><i class="cp_arrow_right_down"></i></span>Arrow:rightdown</div>
</div>
.cp_arrows span {
display: inline-block;
background: #673AB7;
border-radius: 100%;
margin-bottom: 10px;
width: 25px;
height: 25px;
}
.cp_arrows [class*='cp_arrow'] {
position: relative;
display: inline-block;
}
.cp_arrows [class*='cp_arrow']:after,
.cp_arrows [class*='cp_arrow']:before {
content: '';
}
.cp_arrows [class*='cp_arrow'] {/*三角形の設定*/
top: 0px;
left: 8px;
border-width: 0 12px 12px 0;
border-style: solid;
border-color: transparent #ffffff transparent transparent;
}
.cp_arrows [class*='cp_arrow']:before {/*矢印の棒の設定*/
position: absolute;
top: 4px;
left: -2px;
width: 12px;
height: 6px;
background: #ffffff;
transform: rotate(-45deg);
}
/*それぞれの角度*/
.cp_arrows .cp_arrow_left {
transform: rotate(-135deg);
}
.cp_arrows .cp_arrow_right {
transform: rotate(45deg);
}
.cp_arrows .cp_arrow_up {
transform: rotate(-45deg);
}
.cp_arrows .cp_arrow_down {
transform: rotate(135deg);
}
.cp_arrows .cp_arrow_left_up {
transform: rotate(-90deg);
}
.cp_arrows .cp_arrow_left_down {
transform: rotate(180deg);
}
.cp_arrows .cp_arrow_right_up {
transform: rotate(0deg);
}
.cp_arrows .cp_arrow_right_down {
transform: rotate(90deg);
}