- UID
- 588
- 主题
- 回帖
- 0
- 精华
- 积分
- 698
- 金币
- 枚
- 草籽
- 颗
- 鲜花
- 朵
- 注册时间
- 2023-10-3
- 最后登录
- 1970-1-1
|
本帖最后由 司敏儿 于 2024-7-1 14:43 编辑
:doodle {@size: 150vw 150vmin;perspective: 10px; }
:container {perspective: 50px; transform-style: preserve-3d; }
position: absolute;
top: 0px; left: 0;
width: 12px; height: 12px; border-radius: 50%; left: 50%; top: 50%;
background: hsl(@rn(1, 255, 3), @rn(50%, 90%), @rn(50%, 90%));
transform: scale(@rn(1, 10, 3)) translate3d(@rn(-50, 50, 3)vw, @rn(-50, 50, 3)vh, @rn(-100, 20)px);
animation: move @rn(5, 15, 3)s infinite @rn(-20, -10, 3)s linear alternate;
box-shadow: 0 0 1px #fff, 0 0 5px #fff;
@keyframes move {100% { margin-top: 500px;} }
:doodle { @size: 200px; cursor: pointer; right: 500px; top: 1300px; opacity: .96;z-index: 4; }
clip-path: @shape(frame:4;points:40;x: cos(24t)^5 * cos(15t);y: cos(24t)^5 * sin(15t););
background: linear-gradient(HotPink,LavenderBlush,Snow);
animation: rot 6s infinite linear var(--state);
@keyframes rot { to { transform: rotate(360deg); } }
:doodle { @size: 1200px 1700px; margin: 20px auto; }
@size: 65px;
position: absolute;background: linear-gradient(Snow,HotPink,LavenderBlush);
clip-path: @shape(frame: 4;points: 40; x: cos(24t)^5 * cos(15t);y: cos(24t)^5 * sin(15t););
border-radius: 50%;cursor: pointer;
offset-path: path('M900 900 A100 100 0 1 0 300 450');
offset-distance: calc((@i - 1) * 20%);
animation: rot 6s infinite linear var(--state);
@keyframes rot { to { transform: rotate(360deg); } }
:doodle { @size: auto 4em; z-index:5; bottom: 60px; left: 50%; transform: translate(-50%); --geci: " css-doodle player"; --motion: cover2; --tt: 1s; }
display: grid; place-items: center start;
:before, :after {content: var(--geci);color: Pink;font: bold 2em sans-serif;text-shadow: 1px 1px 2px #000;white-space: pre;}
:after {position: absolute;width: 0;color:LavenderBlush;overflow: hidden;animation: var(--motion) var(--tt) linear forwards var(--state);}
@keyframes cover1 { from { width: 0; } to { width: 100%; } }
@keyframes cover2 { from { width: 0; } to { width: 100%; } }
巨蟹座生日快乐!
|
评分
-
7
查看全部评分
-
|