<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;
width: 4px;
height: 20px;
background: #00BCD4;
border-radius: 4px;
margin: 0 20px;
}
/*矢印の<の部分*/
.cp_arrows [class*='cp_arrow']:before,
.cp_arrows [class*='cp_arrow']:after {
position: absolute;
content: '';
top: -1.5px;
width: 4px;
height: 13px;
background: #00BCD4;
border-radius: 4px;
}
.cp_arrows [class*='cp_arrow']:before {
left: 3px;
transform: rotate(-45deg);
}
.cp_arrows [class*='cp_arrow']:after {
right: 3px;
transform: rotate(45deg);
}
/*それぞれの角度*/
.cp_arrows .cp_arrow_left {
transform: rotate(-90deg);
}
.cp_arrows .cp_arrow_right {
transform: rotate(90deg);
}
.cp_arrows .cp_arrow_up {
transform: rotate(0deg);
}
.cp_arrows .cp_arrow_down {
transform: rotate(180deg);
}
.cp_arrows .cp_arrow_left_up {
transform: rotate(-45deg);
}
.cp_arrows .cp_arrow_left_down {
transform: rotate(-135deg);
}
.cp_arrows .cp_arrow_right_up {
transform: rotate(45deg);
}
.cp_arrows .cp_arrow_right_down {
transform: rotate(135deg);
}