cssでシンプル矢印
2023年7月9日
まずはhtml
<span class="simplearrow" ></span>
次にbefore after
.simplearrow::before { content: ""; position::absolute; top: 0; bottom: 0; left: 0; width: 20px; height: 1px; margin: auto; background-color: #686868; } .simplearrow::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 8px; height: 8px; margin: auto; border-top: 1px solid #686868; border-right: 1px solid #686868; transform: rotate(45deg); }