css实现彩色圈圈与正方形loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:css实现彩色圈圈与正方形loading加载动画效果代码

代码标签: css 彩色 圈圈 正方形 loading 加载 动画

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


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

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
body {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #0C0404;
}

.span-container {
  width: 100px;
  height: 100px;
  transform: translate(-50% -50%);
  position: absolute;
  top: 42%;
  left: 45%;
}

span {
  display: block;
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  animation: speed 2s infinite ease-in-out;
}

.one {
  background: #c9ba12;
  animation-delay: 1.5s;
}

.two {
  background: #a11cc7;
  animation-delay: 1s;
}

.three {
  background: #237ead;
  animation-delay: 0.5s;
}

.four {
  backgr.........完整代码请登录后点击上方下载按钮下载查看

网友评论0