<style>
i {border: solid black;border-width: 0 3px 3px 0;display: inline-block;padding: 3px;}
.right {transform: rotate(-45deg);-webkit-transform: rotate(-45deg);}
.left {transform: rotate(135deg);-webkit-transform: rotate(135deg);}
</style>
<p>Right arrow: <i class="right"></i></p>
<p>Left arrow: <i class="left"></i></p>
css로 arrow만들기
font-awsome (angle-down, angle-up)
https://www.w3schools.com/ 참고
'프로그래밍 예제 > HTML & CSS 예제' 카테고리의 다른 글
중앙 정렬한 부모의 자식 태그 (0) | 2019.05.17 |
---|---|
html 마우스 우클릭, 드래그, 클릭 방지 (0) | 2019.01.16 |
css로 중앙 가운데 정렬 (0) | 2019.01.16 |