three-dots实现十多种三个点loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:three-dots实现十多种三个点loading加载动画效果代码

代码标签: three-dots 三个点 loading 加载 动画

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

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

<head>
  <meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css">
  
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/three-dots.min.css">
  
</head>

<body >
  <style>
  html,
  body {
    height: 100%;
    background: #f6f7fd;
    font-size: 16px;
  }

  .heading {
    margin: 36px 0;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 32, 128, 0.12);
    border-radius: 16px;
    font-size: 18px;
  }

  .snippet {
    position: relative;
    background: #fff;
    padding: 32px 5%;
    margin: 24px 0;
    box-shadow: 0 4px 12px -2px rgba(0, 32, 128, .1), 0 0 0 1px rgba(60, 80, 120, 0.1);
    border-radius: 16px;
  }

  .snippet::before {
    display: inline-block;
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 0 8px;
    content: attr(data-title);
    font-size: 12px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: white;
    background-color: rgb(255, 25, 100);
    border-radius: 10px;
    line-height: 20px;
  }

  .snippet:hover {
    cursor: pointer;
    outline: 2px solid rgb(255, 25, 100);
  }

  .stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 32px 0;
    margin: 0 -5%;
    overflow: hidden;
  }
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0