css布局实现飞机翱翔落日天空效果代码
代码语言:html
所属分类:动画
代码描述:css布局实现飞机翱翔落日天空效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
.canvas {
width: 566px;
height: 353.75px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -283px;
margin-top: -176.87px;
background-image: linear-gradient(#AD4A28, #DD723C, #FC7001, #DCB697, #9BA5AE, #3E5879);
overflow: hidden;
z-index: -20;
border-radius: 4px;
}
.airplane {
width: 60px;
height: 45px;
position: absolute;
top: 20%;
left: 25px;
}
.airplane svg {
width: 150px;
height: 50px;
}
.sun {
width: 250px;
height: 250px;
background-image: linear-gradient(to bottom, #ffb100, rgba(224, 114, 54, 0) 50%);
position: absolute;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0