-
Notifications
You must be signed in to change notification settings - Fork 0
/
pagination task.html
36 lines (36 loc) · 1.04 KB
/
pagination task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<style>
.d{
background-image: linear-gradient(to bottom,orange,rgb(255, 242, 0));
}
.pagination{
display: inline-block;
text-decoration: none;
margin: 20px;
align-items: center;
background-color: rgb(245, 181, 62);
}
a:hover:not(.active){
text-decoration: none; /* imp */
background-color: rgb(239, 233, 161);
margin-top: 20px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="d">
<center>
<div class="pagination">
<a href="#">«</a>
<a href="#" class="active">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">4</a>
<a href="#">»</a>
</div>
</center>
</div>
</body>
</html>