Simple Pagination in html and css on December 06, 2021 Get link Facebook Twitter Pinterest Email Other Apps Simple Pagination in html and css Html part Simple Pagination Simple Pagination « 1 2 3 4 5 6 7 » CSS part *{ margin: 0; padding: 0; box-sizing: border-box; } body{ background: #333; min-height: 100vh; margin-left: 80px; margin-top: 50px; } h1{ color: #fff; } .pagination{ display: inline-block; } .pagination a{ font-size: 20px; float: left; text-decoration: none; padding: 8px 16px; color: #fff; transition: .2s; } .pagination a:hover{ background: lightblue; color: #000; } Comments
Comments
Post a Comment