Bootstrap-Pagination

임재헌·2023년 4월 3일
0

Bootstrap

목록 보기
6/11
<!DOCTYPE html>
<html lang="ko">                 
<head>                       
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>blank.html</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>          
    <h2>Pagination</h2>
    <ul class="pagination">
        <li><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
      </ul>
    <br>
    <h2>Pagination - Active State</h2>
    <ul class="pagination">
        <li><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
      </ul>
      <hr>
      <h2>Pagination - Disabled State</h2>
      <ul class="pagination">
        <li><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li class="disabled"><a href="#">4</a></li>
        <li><a href="#">5</a></li>
      </ul>
      <hr>
        <h2>Pagination - Sizing</h2>
        <p>Add class .pagination-lg for larger blocks or .pagination-sm for smaller blocks.</p>
      
        <p>Large:</p>
        <ul class="pagination pagination-lg">
          <li><a href="#">1</a></li>
          <li><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">5</a></li>
        </ul>
      
        <p>Default:</p>
        <ul class="pagination pagination">
          <li><a href="#">1</a></li>
          <li><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">5</a></li>
        </ul>
      
        <p>Small:</p>
        <ul class="pagination pagination-sm">
          <li><a href="#">1</a></li>
          <li><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">5</a></li>
        </ul>
    <hr>
      
        <h2>Breadcrumbs</h2>
        <p>The .breadcrumb class indicates the current page's location within a navigational hierarchy:</p>                  
        <ul class="breadcrumb">
          <li><a href="#">Home</a></li>
          <li><a href="#">Private</a></li>
          <li><a href="#">Pictures</a></li>
          <li class="active">Vacation</li>        
        </ul>
    
        <h2>Pager</h2>
        <p>The .pager class provides previous and next buttons (links):</p>                  
        <ul class="pager">
          <li><a href="#">Previous</a></li>
          <li><a href="#">Next</a></li>
        </ul>
        <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>
</body>                      
</html>                    

0개의 댓글