拒绝IE8-,CSS3 transform rotate旋转动画效果(支持IE9+/chrome/firefox)

发布时间:2020-07-07 09:33:07 作者:pmlinjian
来源:网络 阅读:1084

<!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>


推荐阅读:
  1. css3核心知识点有哪些
  2. css3如何制作圆形旋转动画

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

css3 transform rotat fo fir

上一篇:【Objective-C】OC中文件读取类(NSFileHandle)介绍和常用使用方法

下一篇:Swift2.0(9)函数的使用(一)

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》