欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
您的位置:DIVCSS5首页 > HTML >

 

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>CSS3鼠标移入开花移开收起动画特效</title>

<style>

*{margin:0;padding:0;list-style-type:none;}

#box{

width:1000px;

height:550px;

margin:0 auto;

margin-top:50px;

position:relative;

}

.box01,.box02,.box03,.box04,.box05,.box06,.box07,.box08,.box09{

width:300px;

height:300px;

border-radius:300px 0;

background:pink;

opacity:0.6;

position:absolute;

bottom:100px;

left:500px;

transform-origin:0 300px;

transform:rotate(-45deg);

transition:all 8s;

}

#box:hover :nth-child(3){

transform:rotate(-23deg);

}

#box:hover :nth-child(4){

transform:rotate(0deg);

}

#box:hover :nth-child(5){

transform:rotate(23deg);

}

#box:hover :nth-child(6){

transform:rotate(45deg);

}

#box:hover :nth-child(7){

transform:rotate(-68deg);

}

#box:hover :nth-child(8){

transform:rotate(-90deg);

}

#box:hover :nth-child(9){

transform:rotate(-113deg);

}

#box:hover :nth-child(10){

transform:rotate(-135deg);

}

</style>

</head>

<body><script src="/demos/googlegg.js"></script>

<div id="box">

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

</div>

<div style="text-align:center;margin:10px 0; font:normal 14px/24px 'MicroSoft YaHei';">

<p>适用浏览器:360FireFoxChromeOpera、傲游、搜狗、世界之窗. 不支持SafariIE8及以下浏览器。</p>

<p>来源:<a href="http://www.lanrenzhijia.com/" target="_blank">懒人素材</a></p>

</div>

</body>

</html>

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h30486.shtml

如对文章有任何疑问请提交到DIV CSS论坛,或有任何网页制作CSS问题立即到CSS论坛发贴求解 或 直接DIVCSS5网页顶部搜索遇到DIVCSS疑问。
CSS教程文章修订日期:2018-08-14 17:37 原创:DIVCSS5
本文www.divcss5.com DIVCSS5版权所有。