|
|

楼主 |
发表于 2022-4-19 18:13
|
显示全部楼层
我怎么忘了:
<style>
.ball {
margin: auto;
margin-top: 80px;
width: 100px;
height: 100px;
background: olive linear-gradient(135deg,rgba(0,250,0,.85),rgba(30,250,60,.95));
position: relative;
border-radius: 50%;
filter: drop-shadow(2px 2px 6px rgba(0,0,0,.7));
transform: skew(2deg);
}
.ball::before, .ball::after {
content: '';
position: absolute;
border: 10px solid rgba(0,0,0,.45);
border-radius: 50%;
border-color: green lightgreen green darkgreen;
opacity: .55;
}
.ball::before { left: -10px; top: -10px; right: -10px; bottom: -10px; animation: rot 4s linear infinite; }
.ball::after { left: -20px; top: -20px; right: -20px; bottom: -20px;animation: rot 12s linear infinite; }
.ball div {
position: absolute;
left: 0; top: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 35% 40%,rgba(255,255,255,.75),rgba(0,0,0,.15));
border-radius: 50%;
}
@keyframes rot { to { transform: rotate(1turn); } }
</style>
<div class="ball">
<div></div>
</div>
|
评分
-
| 参与人数 1 | 威望 +30 |
金钱 +60 |
经验 +30 |
收起
理由
|
加林森
| + 30 |
+ 60 |
+ 30 |
很给力! |
查看全部评分
|