拒绝IE8-,CSS3 transform rotate旋转动画效果(支持IE9+/chrome/firefox)
<!DOCTYPE html>
<html>
<head>
<meta charset=" utf-8">
<meta name="author" content="http://www.jb51.net/" />
<title>拒绝IE8-,CSS3 transform rotate旋转动画效果(支持IE9+/chrome/firefox)</title>
<style type="text/css">
.feature-box-p_w_picpath {
margin: 0 auto 1em auto;
width: 120px;
height: 107px;
overflow: hidden;
}
.cross-browser .feature-box-p_w_picpath{
background: url('https://cache.yisu.com/upload/information/20200310/64/130078.jpg') -278px 0px no-repeat;
transition: all 0.4s;
position: relative;
z-index: 10;
}
.cross-browser .feature-box-p_w_picpath:hover {
transition: all 0.7s;
-webkit-transform: rotate(6.28rad);
-ms-transform: rotate(6.28rad);
transform: rotate(6.28rad);
}
</style>
<script type="text/javascript">
//
</script>
</head>
<body>
<div class="feature-box cross-browser">
<div class="feature-box-p_w_picpath"></div>
</div>
</body>
</html>
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。