作业

2018-11-29  本文已影响3人  苗_a

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
.content{
width: 958px;
height: 40px;
border: 1px #ccc solid;
margin: 100px auto;

}
.content2{
width: 500px;
height: 32px;
margin-left: 220px;
padding-top: 8px;
}
.content2 a{
padding: 5px 10px;
background: gold;
text-align: center;
font-size: 12px;
text-decoration: none;
color: #000;
margin-left: 5px;
font-weight: 600;
}
.content2 a:hover{
background: red;
color: red;
}
</style>
</head>
<body>
<div class="content">
<div class="content2">
<a href="#">上一页</a>
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">4</a>
....
<a href="#">17</a>
<a href="#">18</a>
<a href="#">19</a>
<a href="#">20</a>
<a href="#">下一页</a>
</div>
</div>
</body>
<ml>


图片.png
上一篇下一篇

猜你喜欢

热点阅读