<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>太极拳</title>
<style>
body {
background-color: #eee;
}
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
@keyframes x {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#八卦 {
width: 400px;
height: 400px;
border-radius: 50%;
position: relative;
overflow: hidden;
animation: x 10s infinite linear;
/*每10s执行一次x动画,无限执行,线性执行*/
box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.75);
}
@media(max-width: 500px) {
#八卦 {
width: 200px;
height: 200px;
}
}
#black {
border: 10px solid black;
width: 50%;
height: 100%;
position: absolute;
left: 0px;
background-color: black;
}
@media(max-width: 500px) {}
#white {
border: 10px solid white;
width: 50%;
height: 100%;
position: absolute;
right: 0px;
background-color: white;
}
#black-left {
position: absolute;
width: 200px;
height: 200px;
left: 50%;
margin-left: -100px;
border-radius: 50%;
background-color: black;
}
@media(max-width: 500px) {
#black-left {
width: 100px;
height: 100px;
margin-left: -50px;
}
}
#white-right {
position: absolute;
width: 200px;
height: 200px;
left: 50%;
bottom: 0;
margin-left: -100px;
border-radius: 50%;
background-color: white;
}
@media(max-width: 500px) {
#white-right {
width: 100px;
height: 100px;
margin-left: -50px;
}
}
#white-rot {
position: absolute;
width: 50px;
height: 50px;
top: 75px;
left: 50%;
margin-left: -25px;
border-radius: 50%;
background-color: white;
}
@media(max-width: 500px) {
#white-rot {
width: 25px;
height: 25px;
top: 37.5px;
margin-left: -12.5px;
}
}
#black-rot {
position: absolute;
width: 50px;
height: 50px;
bottom: 75px;
left: 50%;
margin-left: -25px;
border-radius: 50%;
background-color: black;
}
@media(max-width: 500px) {
#black-rot {
width: 25px;
height: 25px;
bottom: 37.5px;
margin-left: -12.5px;
}
}
#八卦-warpper {
height: 100vh;
/* viewpoint height 用户的可视范围*/
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#文字 {
margin-top: 1em;
}
</style>
</head>
<body>
<div id="八卦-warpper">
<div id="八卦">
<div id="black"></div>
<div id="white"></div>
<div id="black-left"></div>
<div id="white-right"></div>
<div id="white-rot"></div>
<div id="black-rot"></div>
</div>
<div id="文字">
道可道,非常道
</div>
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![thumb](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/HTML.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/PNG.png)
共 3 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/d5b8e16cddf148da83293d5bb68d9224_admin_maxin.jpg!1)
博士僧小星
- 粉丝: 1987
- 资源: 5909
![benefits](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-1.c8e153b4.png)
下载权益
![privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-2.ec46750a.png)
C知道特权
![article](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-3.fc5e5fb6.png)
VIP文章
![course-privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-4.320a6894.png)
课程特权
![rights](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-icon.fe0226a8.png)
开通VIP
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
- IMG_20240630_223816.jpg
- ADS285 Typical Application
- 求实数和的函数教程.docx
- 2023-04-06-项目笔记 - 第一百八十阶段 - 4.4.2.178全局变量的作用域-178 -2024.06.30
- hadoop进行数据分析教程.docx
- 数据挖掘与数据分析应用案例 数据挖掘算法实践 基于Python的用杰卡德相似算法来进行相似度计算.doc
- YDT 3838-2021通信制造业绿色工厂评价细则.pdf
- python实现浏览器自动化,实现自动打开京东购物车页面
- 数据挖掘与数据分析应用案例 数据挖掘算法实践 基于Python的数据挖掘在超市中的应用与分析.doc
- 图论的思维导图-复习.xmind
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)