HTML
css
.pagination{margin-top:20px;white-space: nowrap; text-align: center; height: 37px; line-height:37px;} .pagination a{display:inline-block; border:1px solid #f7f7f7; height:35px; width:35px; vertical-align:middle; text-align:center; text-decoration:none; font-size:15px; color:#898989;background:#f7f7f7;} .pagination .on{color:#fff; font-weight:bold; background:#333;} .pagination .prev,.pagination .next{height:35px; width:35px; border:1px solid #ebebeb;overflow:hidden;position:relative; font-size:0;} .pagination .prev.end,.pagination .next.end{height:35px; width:35px; font-size:0;} .pagination .prev{background:#ebebeb url("") no-repeat center center; margin-right:11px;} .pagination .prev.end{background:#ebebeb url("") no-repeat center center; margin-right:4px; border-right:0;} .pagination .next{background:#ebebeb url("") no-repeat center center; margin-left:12px;} .pagination .next.end{background:#ebebeb url("") no-repeat center center; margin-left:4px; border-left:0;}
예제
'HTML&CSS > HTML&CSS' 카테고리의 다른 글
[CSS] 양쪽 이미지 opacity처리하는 슬라이드 (0) | 2018.04.10 |
---|---|
[CSS] hover시 부드러운 효과 (1) | 2018.04.10 |
[CSS] label for을 이용한 라디오, 체크박스 버튼 on, off (0) | 2017.11.23 |
[CSS] font awesome 아이콘 쉽게 사용하기 (1) | 2017.11.23 |