Search
 
SCRIPT & CODE EXAMPLE
 

CSS

pagination in css

<!DOCTYPE html>
<html>
<head>
<style>
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  font-size: 22px;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {background-color: #ddd;}
</style>
</head>
<body>

<h2>Pagination Size</h2>

<p>Change the font-size property to make the pagination smaller or bigger.</p>

<div class="pagination">
  <a href="#">&laquo;</a>
  <a href="#">1</a>
  <a href="#" class="active">2</a>
  <a href="#">3</a>
  <a href="#">4</a>
  <a href="#">5</a>
  <a href="#">6</a>
  <a href="#">&raquo;</a>
</div>

</body>
</html>


Comment

pagination html css how to working

<nav aria-label="...">
  <ul class="pagination">
    <li class="page-item disabled">
      <a class="page-link" href="#" tabindex="-1">Previous</a>
    </li>
    <li class="page-item"><a class="page-link" href="#">1</a></li>
    <li class="page-item active">
      <a class="page-link" href="#">2 <span class="sr-only">(current)</span></a>
    </li>
    <li class="page-item"><a class="page-link" href="#">3</a></li>
    <li class="page-item">
      <a class="page-link" href="#">Next</a>
    </li>
  </ul>
</nav>
Comment

PREVIOUS NEXT
Code Example
Css :: css make hover on parent child move 
Css :: css flex cards 
Css :: image transparent 
Css :: :global css 
Css :: learn css animation 
Css :: border style shorthand 
Css :: css footer always at bottom but visible 
Css :: how to fix rough text html 
Css :: alacritty auto start fish 
Css :: position relative goes on top of position fixed 
Css :: insert on positions CSS 
Css :: patterns with css 
Css :: memebuat html dan css login instagram 
Css :: django validation error css 
Css :: #00af8f rgba gradient 
Css :: dict to sql python 
Css :: Changing Image depending on Mobile or Desktop HTML & CSS 
Css :: map arrays 
Css :: ohmyzsh shortcut to oepn folder with vscode 
Css :: how to make grid css 
Css :: css !important 
Css :: min function css 
Css :: remove unused css styles 
Css :: sass color functions 
Css :: how to select elements from a parrent element css 
Css :: page html css template 
Css :: import css in figma 
Css :: Creating a project in pycharm using scrapy 
Css :: pink hex code 
Css :: Creating Nike logo with CSS 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =