纯css实现乌龟吃饼loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:纯css实现乌龟吃饼loading加载动画效果代码

代码标签: 乌龟 吃饼 loading 加载 动画 效果

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

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

<head>

  <meta charset="UTF-8">
  

  
  
  
<style>
body {
            height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            --anim-speed: 3s;
            --color-background: #cfffcd;
            --color-skin: #eea51e;
            --color-toe: #af760c;
            --color-shell-1: #6b4d15;
            --color-shell-2: #af760c;
            --color-shell-3: #d18e10;
            --color-shell-4: #eea51e;
            --color-eye: #4b350c;
            --color-leaf-1: #02fa02;
            --color-leaf-2: #59b70f;

        }
        
        .tortoise-loader {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            background: var(--color-background);
            width: 100px;
            height: 100px;
            border: 6px solid var(--color-shell-1);
        .........完整代码请登录后点击上方下载按钮下载查看

网友评论0