css+div实现航天飞机围绕可爱月球旋转loading加载动画代码
代码语言:html
所属分类:加载滚动
代码描述:css+div实现航天飞机围绕可爱月球旋转loading加载动画代码
代码标签: css div 航天 飞机 围绕 可爱 月球 旋转 loading 加载 动画 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" />
<style>
body{
background: black;
}
.container {
display: flex;
height: 370px;
width: 370px;
margin:200px auto;
justify-content: center;
align-items: center;
position: relative;
flex-direction: column;
}
.moon {
background-color: #39beff;
height: 170px;
width: 170px;
border-radius: 50%;
position: absolute;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden;
}
.crater {
background-color: #31b4ff;
height: 30px;
width: 30px;
border-radius: 50%;
position: relative;
}
.crater:before {
content: "";
position: absolute;
height: 25px;
width: 25px;
border-radius: 50%;
box-shadow: -5px 0 0 2px #1ca4f9;
top: 2px;
left: 7px;
}
.crater1 {
top: 27px;
left: 90px;
transform: scale(0.9);
}
.crater2 {
bottom: 15px;
left:.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0