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년 지나 다시 홈페이지 코딩을 해보려는데 이것저것 막히는 부분이 많네요
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 88 | jQuery Mobile | 8년 전 | 1940 | ||
| 87 | jQuery Mobile | 8년 전 | 1919 | ||
| 86 | jQuery Mobile | 8년 전 | 1532 | ||
| 85 | jQuery Mobile | 8년 전 | 1840 | ||
| 84 | jQuery Mobile | 8년 전 | 1876 | ||
| 83 | jQuery Mobile | 8년 전 | 1890 | ||
| 82 | jQuery Mobile | 8년 전 | 1659 | ||
| 81 | jQuery Mobile | 8년 전 | 1375 | ||
| 80 | jQuery Mobile | 8년 전 | 1813 | ||
| 79 | jQuery Mobile | 8년 전 | 1360 | ||
| 78 | jQuery Mobile | 8년 전 | 1758 | ||
| 77 | jQuery Mobile | 8년 전 | 1783 | ||
| 76 | jQuery Mobile | 8년 전 | 1793 | ||
| 75 | jQuery Mobile | 8년 전 | 1407 | ||
| 74 | jQuery Mobile | 8년 전 | 1544 | ||
| 73 | jQuery Mobile | 8년 전 | 1251 | ||
| 72 | jQuery Mobile | 8년 전 | 1630 | ||
| 71 | jQuery Mobile | 8년 전 | 1625 | ||
| 70 | jQuery Mobile | 8년 전 | 1508 | ||
| 69 | jQuery Mobile | 8년 전 | 1515 | ||
| 68 | jQuery Mobile | 8년 전 | 2052 | ||
| 67 | jQuery Mobile | 8년 전 | 1319 | ||
| 66 | jQuery Mobile | 8년 전 | 1697 | ||
| 65 | jQuery Mobile | 8년 전 | 1189 | ||
| 64 | jQuery Mobile | 8년 전 | 1472 | ||
| 63 | jQuery Mobile | 8년 전 | 1663 | ||
| 62 | jQuery Mobile | 8년 전 | 1646 | ||
| 61 | jQuery Mobile | 8년 전 | 1882 | ||
| 60 | jQuery Mobile | 8년 전 | 1412 | ||
| 59 | jQuery Mobile | 8년 전 | 1969 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기