CSS3图片旋转特效(360/60/-360度)
建站知识 2021-07-03 08:43www.168986.cn长沙网站建设
由于没法展示效果只是截了个图
狼蚁网站SEO优化是实现代码
<style>
p#socialicons img{ / 1st set of icons. Rotate them 360deg onmouseover and out /
-moz-transition: all 0.8s ease-in-out;
-webkit-transition: all 0.8s ease-in-out;
-o-transition: all 0.8s ease-in-out;
-ms-transition: all 0.8s ease-in-out;
transition: all 0.8s ease-in-out;
}
p#socialicons img:hover{
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
p#socialicons2 img{ / 2nd set of icons. Rotate them 60deg onmouseover and out /
-moz-transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
p#socialicons2 img:hover{
-moz-transform: rotate(70deg);
-webkit-transform: rotate(70deg);
-o-transform: rotate(70deg);
-ms-transform: rotate(70deg);
transform: rotate(70deg);
}
p#socialicons3 img{ / 3rd set of icons. Rotate them -360deg onmouseover ONLY. Note where the "transition prop is added /
}
p#socialicons3 img:hover{
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
-o-transform: rotate(-360deg);
-ms-transform: rotate(-360deg);
transform: rotate(-360deg);
}
</style>
<b>360度旋转 onmouseover和onmouseout</b></p>
<p id="socialicons">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" _fcksavedurl=""http://.zzsck./wp-content/uploads/2013/10/rss.png"" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
<p><b>60度旋转 onMouseover and onMouseout</b></p>
<p id="socialicons2">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
<p><b>-360度旋转 onMouseover</b></p>
<p id="socialicons3">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
狼蚁网站SEO优化是实现代码
复制代码
代码如下:<style>
p#socialicons img{ / 1st set of icons. Rotate them 360deg onmouseover and out /
-moz-transition: all 0.8s ease-in-out;
-webkit-transition: all 0.8s ease-in-out;
-o-transition: all 0.8s ease-in-out;
-ms-transition: all 0.8s ease-in-out;
transition: all 0.8s ease-in-out;
}
p#socialicons img:hover{
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
p#socialicons2 img{ / 2nd set of icons. Rotate them 60deg onmouseover and out /
-moz-transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
p#socialicons2 img:hover{
-moz-transform: rotate(70deg);
-webkit-transform: rotate(70deg);
-o-transform: rotate(70deg);
-ms-transform: rotate(70deg);
transform: rotate(70deg);
}
p#socialicons3 img{ / 3rd set of icons. Rotate them -360deg onmouseover ONLY. Note where the "transition prop is added /
}
p#socialicons3 img:hover{
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
-o-transform: rotate(-360deg);
-ms-transform: rotate(-360deg);
transform: rotate(-360deg);
}
</style>
<b>360度旋转 onmouseover和onmouseout</b></p>
<p id="socialicons">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" _fcksavedurl=""http://.zzsck./wp-content/uploads/2013/10/rss.png"" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
<p><b>60度旋转 onMouseover and onMouseout</b></p>
<p id="socialicons2">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
<p><b>-360度旋转 onMouseover</b></p>
<p id="socialicons3">
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/rss.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/delicious.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/facebook.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/twitter.png" /></a>
<a href="#">
<img border="0" src="http://.zzsck./wp-content/uploads/2013/10/yahoo.png" /></a>
</p>
长沙网站设计
- 如何自己建一个网站 自己想建个网站,怎么建
- 如何制作网站免费建站 创建网站免费注册
- html简单网页代码 html简单网页代码超链接
- dreamweaver网页制作 dreamweaver网页制作模板
- 上海网站建设 上海网站建设制作微信
- 如何制作网站和网页 如何制作一个网页
- html网页制作代码大全 端午节html网页制作代码大
- app开发公司 app开发公司前十名
- html网页制作 html网页制作文字居中
- app制作一个需要多少钱 请人制作一个app多少钱
- 成都网站制作 成都网站制作维护
- 百度建一个网站多少钱 百度做个公司网站要多少
- html+css网页制作成品 web网页制作成品css+javascrip
- html网页制作案例 html网页设计案例
- html+css网页制作成品 web网页制作成品css+javascrip
- 个人网站模板 个人网站模板HTML