CSS3图片旋转特效(360/60/-360度)
网站建设 2023-01-28 20:49www.1681989.com免费网站
由于没法展示效果只是截了个图
狼蚁网站SEO优化是实现代码
<style>
p#socialicons img{ / 1st set of icons. Rotate them 360deg onmouseover and out /
-moz-transition: all 0.8s ease--out;
-webkit-transition: all 0.8s ease--out;
-o-transition: all 0.8s ease--out;
-ms-transition: all 0.8s ease--out;
transition: all 0.8s ease--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--out;
-webkit-transition: all 0.2s ease--out;
-o-transition: all 0.2s ease--out;
-ms-transition: all 0.2s ease--out;
transition: all 0.2s ease--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--out;
-webkit-transition: all 0.5s ease--out;
-o-transition: all 0.5s ease--out;
-ms-transition: all 0.5s ease--out;
transition: all 0.5s ease--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--out;
-webkit-transition: all 0.8s ease--out;
-o-transition: all 0.8s ease--out;
-ms-transition: all 0.8s ease--out;
transition: all 0.8s ease--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--out;
-webkit-transition: all 0.2s ease--out;
-o-transition: all 0.2s ease--out;
-ms-transition: all 0.2s ease--out;
transition: all 0.2s ease--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--out;
-webkit-transition: all 0.5s ease--out;
-o-transition: all 0.5s ease--out;
-ms-transition: all 0.5s ease--out;
transition: all 0.5s ease--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的网站建设公司:全面提升您的网络影
- 提升在线业务的关键:选择最佳的丽水网站建设
- 浙江网站优化发展潜力如何
- 井研专业的网站建设公司:打造您的在线品牌
- 灵山SEO网站建设公司:提升您的在线业务表现
- 蒙城网站建设优化公司:提升您网站表现的理想
- 阳谷企业网站优化:提升线上业务力的关键
- 樟树专业的网站建设公司:打造您在线业务的坚
- 通河百度SEO排名的策略与技巧
- 重庆百度快照排名如何进行精准的客户引流
- 重庆百度快照排名
- 常宁便宜的建站公司:助您轻松打造在线业务
- 巫溪百度网站优化:提升网站曝光率与流量的关
- 湖北整站优化怎么做才能放大客户需求
- 闸北网站建设多少钱?全面解析与预算规划
- 辽宁企业网站优化怎么做电话营销