Bootstrap Pager 버튼 맞춤
Bootstrap Pager 버튼 맞춤
.previousand를 사용하여 .next각 버튼을 페이지의 측면에 정렬합니다.
예
<ul class="pager">
<li class="previous"><a href="#">Previous</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
[전체소스]
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Pager</h2>
<p>The .previous and .next classes align each link to the sides of the page:</p>
<ul class="pager">
<li class="previous"><a href="#">Previous</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
</div>
</body>
</html>
.previousand를 사용하여 .next각 버튼을 페이지의 측면에 정렬합니다.
예
<ul class="pager">
<li class="previous"><a href="#">Previous</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
[전체소스]
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Pager</h2>
<p>The .previous and .next classes align each link to the sides of the page:</p>
<ul class="pager">
<li class="previous"><a href="#">Previous</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
</div>
</body>
</html>
댓글 1개
2년 전
와 이렇게 정리해주시니 좋네요 ㅎㅎ 한 10년 지나 다시 홈페이지 코딩을 해보려는데 이것저것 막히는 부분이 많네요
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 58 | jQuery Mobile | 8년 전 | 2984 | ||
| 57 | jQuery Mobile | 8년 전 | 2028 | ||
| 56 | jQuery Mobile | 8년 전 | 1359 | ||
| 55 | jQuery Mobile | 8년 전 | 1554 | ||
| 54 | jQuery Mobile | 8년 전 | 2232 | ||
| 53 | jQuery Mobile | 8년 전 | 1535 | ||
| 52 | jQuery Mobile | 8년 전 | 1554 | ||
| 51 | jQuery Mobile | 8년 전 | 1424 | ||
| 50 | jQuery Mobile | 8년 전 | 1311 | ||
| 49 | jQuery Mobile | 8년 전 | 1816 | ||
| 48 | jQuery Mobile | 8년 전 | 1459 | ||
| 47 | jQuery Mobile | 8년 전 | 2017 | ||
| 46 | jQuery Mobile | 8년 전 | 1979 | ||
| 45 | jQuery Mobile | 8년 전 | 1512 | ||
| 44 | jQuery Mobile | 8년 전 | 1672 | ||
| 43 | jQuery Mobile | 8년 전 | 1787 | ||
| 42 | jQuery Mobile | 8년 전 | 1665 | ||
| 41 | jQuery Mobile | 8년 전 | 1833 | ||
| 40 | jQuery Mobile | 8년 전 | 1474 | ||
| 39 | jQuery Mobile | 8년 전 | 1632 | ||
| 38 | jQuery Mobile | 8년 전 | 2179 | ||
| 37 | jQuery Mobile | 8년 전 | 2681 | ||
| 36 | jQuery Mobile | 8년 전 | 2130 | ||
| 35 | jQuery Mobile | 8년 전 | 1516 | ||
| 34 | jQuery Mobile | 8년 전 | 2420 | ||
| 33 | AngularJS | 8년 전 | 2870 | ||
| 32 | AngularJS | 8년 전 | 2430 | ||
| 31 | AngularJS | 8년 전 | 1765 | ||
| 30 | AngularJS | 8년 전 | 2839 | ||
| 29 | AngularJS | 8년 전 | 2396 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기