css实现飞行中的科斯莫小狗动画效果代码

代码语言:html

所属分类:动画

代码描述:css实现飞行中的科斯莫小狗动画效果代码

代码标签: 中的 科斯 小狗 动画 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">

  
  
  
<style>
.white {
  background-color: white !important;
}

.darkwhite {
  background-color: #f7f7f7 !important;
}

.darkerwhite {
  background-color: #eaeaea !important;
}

.gray {
  background-color: #7d7d7d !important;
}

.darkgray {
  background-color: #636363 !important;
}

.darkergray {
  background-color: #535353 !important;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #9eecff;
  margin: 0;
  overflow: hidden;
}

.dog {
  width: 180px;
  height: 180px;
  position: relative;
  left: 30px;
  top: 60px;
  animation: upNdown 5s ease-in-out infinite;
}
.dog * {
  position: absolute;
  left: 0;
  top: 0;
}

.body {
  background-color: #7d7d7d;
}

.body1 {
  width: 117%;
  height: 60%;
  border-radius: 0 39% 78% 30%/0 32% 60% 60%;
}

.body2 {
  width: 80%;
  height: 30%;
  top: -5%;
  left: 3%;
  .........完整代码请登录后点击上方下载按钮下载查看

网友评论0