|
|

楼主 |
发表于 2025-7-16 17:43
|
显示全部楼层
参考代码:
- <style>
- .box {
- margin: 0 auto;
- margin-top: 150px;
- width: 100px;
- height: 100px;
- border: 4px solid teal;
- border-radius: 0 50% 50%;
- animation: rot 8s linear infinite;
- display: grid;
- place-items: center;
- position: relative;
- }
- .box::before, .box::after {
- position: absolute;
- content: '';
- width: 180%;
- height: 180%;
- background: repeating-linear-gradient(
- to top right,
- transparent 0%,
- transparent calc(50% - 2px),
- teal 50%,
- transparent calc(50% + 2px),
- transparent 0
- ) 50% 50% / 20% 20%;
- }
- .box::after {
- transform: rotate(90deg);
- }
- @keyframes rot {
- to {
- transform: rotate(360deg);
- }
- }
- </style>
- <div class="box"></div>
复制代码
|
评分
-
| 参与人数 1 | 威望 +50 |
金钱 +100 |
经验 +50 |
收起
理由
|
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
查看全部评分
|