<!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>66's</title>
<style>
body{
background-color: #f1f1f1;
}
.box{
margin: 8px auto;
width:200px;
height:250px;
background-color: #fff;
}
.title{
background-color: #e1e2e3;
width:200px;
height:50px;
text-align:center;
line-height: 50px;
color:#000;
}
.box:hover{
border:1px solid #0b96d6;
box-shadow:0 5px 10px 5px rgba(46, 170, 252, 0.2);
}
.title:hover{
background-color: #0b96d6;
color:#fff;
}
</style>
</head>
<body>
<div class="box">
<div class="title">更多配置</div>
</div>
</body>
</html>
效果如下:(当鼠标没放在上面时)
当鼠标放在上面后: