<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS3制作的卡通小蜜蜂</title>
<style>
body {
background: -webkit-linear-gradient(45deg, #FF7300, #FFA70B);
background: linear-gradient(45deg, #FF7300, #FFA70B);
background: #7ec0ee;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
cursor: default;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 100vh;
}
.bee {
-webkit-animation: hover 2s ease-in-out infinite;
animation: hover 2s ease-in-out infinite;
}
.bee-body {
position: relative;
margin: 136px 130px 38px 130px;
min-width: 130px;
background: #ffca31;
/*body*/
height: 130px;
width: 130px;
border-radius: 50%;
background-size: 130px 65px, cover, cover, cover;
background-image: -webkit-linear-gradient(top, transparent 50%, #292929 50%), -webkit-radial-gradient(51% 36% circle, #ffd764 47%, rgba(0, 0, 0, 0) 47%), -webkit-radial-gradient(51% 53% circle, #ffd764 55%, rgba(0, 0, 0, 0) 55%), -webkit-radial-gradient(60% 53% circle, #ffebb1 60%, rgba(0, 0, 0, 0) 60%);
background-image: linear-gradient(to bottom, transparent 50%, #292929 50%), radial-gradient(circle at 51% 36%, #ffd764 47%, rgba(0, 0, 0, 0) 47%), radial-gradient(circle at 51% 53%, #ffd764 55%, rgba(0, 0, 0, 0) 55%), radial-gradient(circle at 60% 53%, #ffebb1 60%, rgba(0, 0, 0, 0) 60%);
/*stripes on body*/
box-shadow: 35px -105px 0 -44px #FFD764, -35px -105px 0 -44px #FFD764, 38px -107px 0 -41px #ffebb1, -32px -107px 0 -41px #ffebb1, 35px -105px 0 -38px #ffca31, -35px -105px 0 -38px #ffca31, 3px -95px 0 -18px #FFD764, 5px -100px 0 -15px #ffebb1, 0px -95px 0 -10px #ffca31, -35px -183px 0 -57px #363636, 35px -183px 0 -57px #363636, -33px -185px 0 -56px #505050, 37px -185px 0 -56px #505050, -35px -184px 0 -54px #292929, 35px -184px 0 -54px #292929;
/*antenae nubs*/
}
.bee-body:after {
position: absolute;
content: '';
background: -webkit-linear-gradient(top, transparent 50%, #363636 50%);
background: linear-gradient(to bottom, transparent 50%, #363636 50%);
height: 130px;
width: 130px;
right: 0px;
bottom: 0px;
background-size: 130px 65px;
border-radius: 50%;
-webkit-clip-path: ellipse(41% at 51% 48%);
clip-path: ellipse(41% at 51% 48%);
}
.bee-body:before {
position: absolute;
content: '';
background: -webkit-linear-gradient(top, transparent 50%, #434343 50%);
background: linear-gradient(to bottom, transparent 50%, #434343 50%);
height: 130px;
width: 130px;
right: 0px;
bottom: 0px;
background-size: 130px 65px;
border-radius: 50%;
-webkit-clip-path: ellipse(41% at 61% 48%);
clip-path: ellipse(41% at 61% 48%);
}
.mouth {
/*mouth*/
content: '';
position: absolute;
width: 20px;
height: 20px;
left: 55px;
bottom: 128px;
border-radius: 50%;
box-sizing: border-box;
border-bottom: 5px solid #363636;
}
.antenae {
position: relative;
z-index: -2;
width: 60px;
height: 60px;
border-radius: 50%;
right: -75px;
bottom: 130px;
border: 8px solid #363636;
/*right antenae stem*/
box-sizing: border-box;
border-style: hidden hidden hidden solid;
-webkit-transform: skewY(-20deg);
transform: skewY(-20deg);
}
.antenae:before {
content: '';
position: absolute;
width: 60px;
height: 60px;
border-radius: 50%;
left: -87px;
bottom: 30px;
border: 8px solid #363636;
/*left antenae stem*/
box-sizing: border-box;
border-style: hidden solid hidden hidden;
-webkit-transform: skewY(40deg);
transform: skewY(40deg);
}
.antenae:after {
/*stinger*/
-webkit-transform: skewY(20deg);
transform: skewY(20deg);
position: absolute;
content: '';
bottom: -213px;
left: -33px;
width: 30px;
height: 30px;
background: -webkit-linear-gradient(left, #292929 50%, #363636 50%);
background: linear-gradient(to right, #292929 50%, #363636 50%);
-webkit-clip-path: polygon(0 0, 50% 100%, 100% 0);
clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.bee-left {
-webkit-animation: flight-left .5s ease-out infinite;
animation: flight-left .5s ease-out infinite;
content: '';
position: absolute;
background-color: #F8F8FF;
/*large wing left*/
height: 100px;
width: 150px;
bottom: 110px;
right: 100px;
border-radius: 30px 130px 0 130px;
-webkit-transform: skewY(20deg);
transform: skewY(20deg);
z-index: -1;
box-shadow: inset 30px 105px 0 -70px #FFF;
}
.bee-left:after {
-webkit-animation: flight-little .5s ease-in-out infinite;
animation: flight-little .5s ease-in-out infinite;
content: '';
position: absolute;
width: 100px;
height: 110px;
top: 70px;
left: 48px;
background-color: #F0F0F0;
/*little wing left*/
border-radius: 50% / 50% 0 100% 50%;
box-shadow: inset 10px 1px 0px 0px #FFF, inset 30px 7px 0px 0px #f6f6f6;
}
.bee-right {
-webkit-animation: flight-right .5s ease-in-out infinite;
animation: flight-right .5s ease-in-out infinite;
content: '';
position: absolute;
background-color: #F8F8FF;
/*large wing right*/
height: 100px;
width: 150px;
bottom: 110px;
left: 100px;
border-radius: 30px 130px 0 130px;
border-radius: 130px 30px 130px 0px;
-webkit-transform: skewY(-20deg);
transform: skewY(-20deg);
z-index: -1;
box-shadow: inset 30px 105px 0 -70px #FFF;
}
.bee-right:after {
-webkit-animation: flight-little .5s ease-in-out infinite;
animation: flight-little .5s ease-in-out infinite;
content: '';
position: absolute;
width: 100px;
height: 110px;
top: 70px;
right: 48px;
background-color: #F0F0F0;
/*little wing right*/
border-radius: 50% / 0 50% 50% 100%;
box-shadow: inset -10px 1px 0px 0px #FFF, inset -30px 7px 0px 0px #f6f6f6;
}
.blink {
position: relative;
}
.blink:before {
/*left pupil and eyeball shadows*/
background-image: -webkit-radial-gradient(71% 38% circle, #ffffff 8%, rgba(0, 0, 0, 0) 8%), -webkit-radial-gradient(65% 50% circle, #363636 16%, rgba(0, 0, 0, 0) 16%), -webkit-radial-gradient(69% 47% circle, #434343 19%, rgba(0, 0, 0, 0) 19%), -webkit-radial-gradient(65% 50% circle, #292929 25%, rgba(0, 0, 0, 0) 25%), -webkit-radial-gradient(50% 55% ellipse, #f8f8ff 50%, rgba(0, 0, 0, 0) 50%), -webkit-radial-gradient(70% 50% circle, #ffffff 65%, rgba(0, 0, 0, 0) 65%);
background-image: radial-gradient(circle at 71% 38%, #ffffff 8%, rgba(0, 0, 0, 0) 8%), radial-gradient(circle at 65% 50%, #363636 16%, rgba(0, 0, 0, 0) 16%), radial-gradient(circle at 69% 47%, #434343 19%, rgba(0, 0, 0, 0) 19%), radial-gradient(circle at 65% 50%, #292929 25%, rgba(0, 0, 0, 0) 25%), radial-gradient(ellipse at 50% 55%, #f8f8ff 50%, rgba(0, 0, 0, 0) 50%), radial-gradient(circle at 70% 50%, #ffffff 65%, rgba(0, 0, 0, 0) 65%);
left: 2px;
}
.blink:before,
.blink:after {
-webkit-clip-path: ellipse(50% 20% at 50% 50%);
clip-path: ellipse(50% 20% at 50% 50%);
content: '';
position: absolute;
height: 55px;
width: 55px;
border-radius: 50%;
background-color: #F0F0F0;
top: -67px;
-webkit-animation: blink 10s linear infinite;
animation: blink 10s linear infinite;
}
.blink:after {
/*right pupil and eyeball shadows*/
backg