鼠标放上去Div旋转特效代码

来源:互联网 发布:淘宝店铺升级入口 编辑:程序博客网 时间:2024/06/02 08:56
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS3旋转</title>
<style>
.rotate {
width: 100px;
height: 100px;
background: #92B901;
-webkit-transition: -webkit-transform 2s;
}
.rotate:hover {
-webkit-transform: rotate(360deg);
}
</style>
</head>
<body>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
<div class="rotate">rotate</div>
</body>
</html>
0 0