<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
*{
margin: 0px;
padding: 0px;
}
li{
list-style: none;
float: left;
margin-left: 15px;
}
div{
overflow: auto;
}
img{
background: green;
/* transition: background 2s linear; */
transition: all 3s linear ;
}
img:hover{
transform: rotate(360deg) scale(1.2);
background: yellow;
}
</style>
<
tranfrom属性实现旋转按钮
最新推荐文章于 2024-05-16 09:59:55 发布