先来看看效果图
有点遗憾的是云朵不好画,用图片代替了
实例源码
to{background-position:-1200px -100px;}</p>
<p> }
.plane{
height:300px;
width:490px;
position:absolute;
bottom:-14px;
left:25%;
z-index: 3;
-webkit-animation: planeFly 12s linear;
animation: planeFly 12s linear;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
}
.plane .frame,.plane .tube,.plane .tube::after,.plane .tube::before,.plane .frame::after,.plane .wrings-left,.plane .wrings-right,.plane .wrings-right::after,.plane .wrings-left::after,.plane .tail-left,.plane .tail-right,.plane .tail-top,.plane .tail-top::after{
background: #fff;
border:1px solid #000;
}
.plane .frame{
z-index:1;
height:60px;
width:405px;
position: absolute;
top:100px;
right:50px;
border-radius:120% 160% 50% 220%;
-webkit-transform:rotate(-5deg);
transform:rotate(-5deg);
}
.plane .afterbody{
}
.plane .frame::after{
content: "";
height: 56px;
width: 400px;
position: absolute;
top: 8px;
left: 25px;
border-radius: 120% 167% 113% 100%;
clip: rect(0px 410px 60px 370px);
}
.plane .frame::before{
content: "";
height: 30px;
width: 50px;
position: absolute;
top:5px;
right: -2px;
border-radius: 50% 50% 50% 50%;
-webkit-transform: rotate(10deg);
transform: rotate(10deg);
border-right: 1px solid #000;
background: #fff;
clip: rect(16px 70px 40px 31px);
z-index: 1;</p>
<p> }
.plane .frame .windows{
position:absolute;
top:21px;
left:100px;
width:7px;
height: 12px;
background: #666;
box-shadow: 15px 0px 0px #666,30px 0px 0px #666,45px 0px 0px #666,75px 0px 0px #666,90px 0px 0px #666,105px 0px 0px #666,120px 0px 0px #666,135px 0px 0px #666,150px 0px 0px #666,165px 0px 0px #666,195px 0px 0px #666,210px 0px 0px #666,225px 0px 0px #666,240px 0px 0px #666;
-webkit-transform:rotate(1deg);
transform:rotate(1deg);
}
.plane .frame .door{
position:absolute;
top: 17px;
left: 75px;
width: 10px;
height: 14px;
border:1px solid #333;
}
.plane .brand{
position: absolute;
top:38px;
right:58px;
color:#ef7b57;
font-size: 13px;
font-weight: 600;
-webkit-transform:rotate(1deg);
transform:rotate(1deg);
}
.plane .frame .pilothouse{
position:absolute;
top:26px;
right:13px;
width:7px;
height:10px;
background: #666;
z-index: 5;
}
.plane .frame .pilothouse::after{
content: "";
position:absolute;
top:0px;
left:10px;
width:10px;
height:9px;
background: #666;
z-index: 5;
border-bottom-right-radius:100%;
}
.plane .tube{
width:40px;
height:20px;
border:1px solid #000;
position:absolute;
border-radius: 15% 0% 0% 25%;
border-left:none;
-webkit-transform:skewX(5deg);
transform:skewX(5deg);
}
.plane .tube::after{
content:"";
width:8px;
height:20px;
position: absolute;
top:-1px;
right:-5px;
border-radius: 5% 28% 47% 5%;</p>
<p> }
.plane .tube-a{
top:24px;
left:202px;
}
.plane .tube-b{
top:60px;
left:238px;
}
.plane .tube-c{
top:175px;
left:258px;
z-index: 3;
}
.plane .tube-d{
top:218px;
left:245px;
z-index: 3;
}
.plane .tube .cover{
width:26px;
height:8px;
background: #fff;
position: absolute;
border-top:1px solid #000;
border-right:1px solid #000;
border-radius: 0% 50% 0% 0%;
-webkit-transform:rotate(7deg);
transform:rotate(7deg);
left:0;
top:13px;
}
.plane .tube-a .cover,.plane .tube-b .cover{
width:34px;
height:14px;
border-right:none;
}
.plane .tube-c .cover{
left:1px;</p>
<p> }
.plane .wrings-left{
width:140px;
height:39px;
transform-origin: right top;
-webkit-transform:rotate(45deg) skewX(-43deg);
transform:rotate(45deg) skewX(-43deg);
border-top-left-radius:10%;
border-bottom-left-radius:10%;
/*border-right:none;*/
position:absolute;
top:105px;
left:155px;
}
.plane .wrings-left::after{
content:"";
width:147px;
height:30px;
position: absolute;
top:21px;
left:-2px;
-webkit-transform:rotate(10deg) skewX(10deg);
transform:rotate(10deg) skewX(10deg);
border-top:none;
border-radius:0% 0% 0% 10%;
}
.plane .wrings-right{
width:145px;
height:55px;
transform-origin: right top;
-webkit-transform:rotate(-72deg) skewX(23deg);
transform:rotate(-72deg) skewX(23deg);
border-top-left-radius:10%;
border-bottom-left-radius:10%;
border-bottom-right-radius:5%;
position:absolute;
top:145px;
left:97px;
z-index: 3;
}
.plane .wrings-right::after{
content:"";
width:147px;
height:40px;
position: absolute;
top:-12px;
left:-2px;
-webkit-transform:rotate(-10deg) skewX(-10deg);
transform:rotate(-10deg) skewX(-10deg);
border-bottom:none;
border-radius:10% 5% 0% 0%;
}
.plane .wrings-left p,.plane .wrings-left p::after,.plane .wrings-right p,.plane .wrings-right p::after{
height: 8px;
position: absolute;
border: 1px solid #aaa;
}
.plane .wrings-left p{
width: 50px;
top: 47px;
left: 70px;
-webkit-transform:rotate(10deg) skewX(10deg);
transform:rotate(10deg) skewX(10deg);
z-index: 1;
border-bottom: none;
}
.plane .wrings-left p::after{
content: "";
width: 46px;
top: 0px;
left