Skip to content

Instantly share code, notes, and snippets.

@genesis16
Created April 27, 2022 05:22
Show Gist options
  • Save genesis16/f759eb10b2cc1a0d7f39db837df0f7ac to your computer and use it in GitHub Desktop.
Save genesis16/f759eb10b2cc1a0d7f39db837df0f7ac to your computer and use it in GitHub Desktop.
pagination
// go ahead and change the colours according to your brand
.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:11px;
line-height:13px;
}
.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#fff;
background: #4d4d4f;
}
.pagination a:hover{
color:#fff;
background: #0097D6;
}
.pagination .current{
padding:6px 9px 5px 9px;
background: #0097D6;
color:#fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment