博主信息
博文 6
粉丝 0
评论 0
访问量 6698
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
太极图案例
寒夏
原创
579人浏览过

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">    <title>太极图</title>    <style>        body{            background: #7c7c7c;        }        .taiji{            width: 300px;            height: 300px;            border-radius: 300px;            margin: 50px auto;            overflow: hidden;            display: flex;            animation: taiji 5s infinite linear;        }       @keyframes taiji{           0%{               transform: rotate(0deg);           }           100%{               transform: rotate(360deg);           }       }        .taijileft{            height: 300px;            width: 150px;            background: white;        }        .taijirigth{            height: 300px;            width: 150px;            background: black;        }        .taijil{            width: 150px;            height: 150px;            border-radius: 150px;            position: relative;            left: 80px;            margin:0px auto;            z-index: 3;            background: white;        }        .taijir{            width: 148px;            height: 148px;            border: 1px solid #000;            border-radius: 150px;            position: relative;            top: 150px;            right: 75px;            background: black;            margin:0px auto;        }        .taijil div{            width: 30px;            height: 30px;            border-radius: 30px;            background: black;            position: relative;            top: 37%;            left: 39%;        }        .taijir div{            width: 30px;            height: 30px;            border-radius: 30px;            background: white;            position: relative;            left: 39%;            top: 38%;        }    </style></head><body>    <div class="taiji">        <div class="taijileft">            <div class="taijil">                <div></div>            </div>        </div>        <div class="taijirigth">            <div class="taijir">                <div></div>            </div>        </div>    </div></body></html>
批改老师:PHPzPHPz

批改状态:合格

老师批语:
本博文版权归博主所有,转载请注明地址!如有侵权、违法,请联系admin@php.cn举报处理!
全部评论 文明上网理性发言,请遵守新闻评论服务协议
0条评论
作者最新博文
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号

  • 登录PHP中文网,和优秀的人一起学习!
    全站2000+教程免费学