css实现两个点旋转loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:css实现两个点旋转loading加载动画效果代码

代码标签: css 两个点 旋转 loading 加载 动画

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

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

<head>
  <meta charset="UTF-8">
  

  
  
  
<style>
body {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

/* Loader style */

.loader {
  width: 48px;
  height: 48px;
  display: block;
  margin: 15px auto;
  position: relative;
  color: #ccc;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 5.........完整代码请登录后点击上方下载按钮下载查看

网友评论0