css+div模拟windows启动loading加载动画效果代码

代码语言:html

所属分类:加载滚动

代码描述:css+div模拟windows启动loading加载动画效果代码

代码标签: css div 模拟 windows 启动 loading 加载 动画

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

<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
     
        <style>
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box
            }

            body {
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #0f7dc7;
                color: #fff
            }

            .quan {
                position: relative;
                margin: 0 auto;
                margin-bottom: 20px;
                width: 60px;
                height: 60px
            }

            .dian {
                position: absolute;
                width: 100%;
                height: 100%;
                animation: zhuan 3.5s linear infinite
            }

            .dian::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 6px;
                height: 6px;
                background-color: #fff;
                border-radius: 50%
            }

            .quan:nth-child(1) {
                animation-delay: 0s
            }

            .quan div:nth-child(2) {
                animation-delay: .1s
            .........完整代码请登录后点击上方下载按钮下载查看

网友评论0