<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>百度分页数字</title>
<style>
.page{
background-color: #f5f5f6;
}
.page strong a{
background-color:#fff;
display: inline-block;
text-decoration: none;
font: 14px arial;
color:#4e6ef2;
width: 36px;
height: 36px;
box-sizing: border-box;
text-align: center;
line-height: 36px;
border-radius: 6px;
}
.page strong a:hover{
border: solid;
background-color: #4e6ef2;
color: #fff;
}
</style>
</head>
<body>
<div class="page">
<strong>
<a href="">1</a>
<a href="">2</a>
<a href="">3</a>
<a href="">4</a>
<a href="">5</a>
<a href="">6</a>
<a href="">7</a>
<a href="">8</a>
<a href="">9</a>
<a href="">10</a>
</strong>
</div>
</body>
</html>
效果图: