flower:hover CSS3
CSS3 animation, child elements open like flower around parent
by Cthulhu
HTML
<div class="parent">
<div class="child1"></div>
<div class="child2"></div>
<div class="child3"></div>
<div class="child4"></div>
<div class="child5"></div>
<div class="child6"></div>
<div class="child7"></div>
<div class="child8"></div>
</div>
CSS
div {
background: #ED4633;
border-radius: 100px;
height: 200px;
left: 150px;
position: relative;
top: 150px;
width: 200px;
}
div div {
height: 100px;
left: 50px;
opacity: 1;
position: absolute;
top: 50px;
transition: all 0.5s ease;
width: 100px;
z-index: -1;
}
div:hover div {
opacity: 1;
transition: all 0.5s ease;
}
div:hover .child1 { left: -70px; top: -70px; transition-delay: 0.1s; background: #3D51B4; }
div:hover .child2 { top: -120px; transition-delay: 0.2s; background: #39A7F2; }
div:hover .child3 { left: 170px; top: -70px; transition-delay: 0.3s; background: #419586; }
div:hover .child4 { left: 220px; transition-delay: 0.4s; background: #8BC24A; }
div:hover .child5 { left: 170px; top: 170px; transition-delay: 0.5s; background: #CCDB38; }
div:hover .child6 { top: 220px; transition-delay: 0.6s; background: #FEEA3B; }
div:hover .child7 { left: -70px; top: 170px; transition-delay: 0.7s; background: #F9C033; }
div:hover .child8 { left: -120px; transition-delay: 0.8s; background: #F39531; }