<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.div1{
width: 300px;
height: 100px;
border: 1px solid red;
margin: 100px auto;
background: url(img/paopao.png) left top no-repeat,
url(img/paopao.png) right bottom no-repeat;
background-color: #036;
border-radius: 5px;
transition: all 3s;
}
.div1:hover{
background-position: left bottom,right top;
}
</style>
</head>
<body>
<div class="div1"></div>
</body>
</html>
过渡气泡案例
最新推荐文章于 2022-05-12 13:29:48 发布