<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
ul{
width: 150px;
height: 20px;
margin: 0 auto;
}
ul li{
width: 10px;
height: 10px;
border: 2px solid transparent;
float: left;
background-color: #ccc;
margin-left: 10px;
border-radius: 50%;
transition: all 1s;
list-style: none;
}
ul li:hover{
border: 2px solid red;
transform: scale(1.3);
background-color: transparent;
}
</style>
</head>
<body>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</body>
</html>
原图:移上去: