css实现水滴loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:css实现水滴loading加载动画效果代码

代码标签: css 水滴 loading 加载 动画

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


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

<head>

  <meta charset="UTF-8">
  

  
  
<style>
:root {
  --border-width: 7px;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #eb4a62;
}

.sec-loading {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-loading .one {
  height: 80px;
  width: 80px;
  border: var(--border-width) solid white;
  transform: rotate(45deg);
  border-radius: 0 50% 50% 50%;
  position: relative;
  animation: move 0.5s linear infinite alternate-reverse;
}
.sec-loading .one::before {
  content: "";
 .........完整代码请登录后点击上方下载按钮下载查看

网友评论0