许你——程响(学习黑师护网&字符&九连小播效果)

位置: 首页 > 悄然作业
[发布: 2023.6.4  作者: 花飞飞  阅读: 324]
:doodle {@size: 190px;position: relative;cursor: pointer; left: 410px; top: 120px; z-index: 10;}background: @doodle( :doodle { @grid: 3 ; @size: 190px; background: radial-gradient(DarkCyan,transparent 70%,transparent 0); cursor: pointer; } clip-path: @shape( points: 400;scale: .7;frame: 40;r: abs.cos(9t) ^ cos(9t);); @place: center; background: Peru; transform: rotate(calc(@i * 40deg)) translate(60px);); animation: rot 6s infinite linear var(--state); @keyframes rot { to { transform: rotate(1turn); } } :doodle { @size: 1024px 640px; background: url('') no-repeat center/cover; position: relative; opacity: .95; } @nth(1) { @size: 100%; position: absolute; background-image: @svg( viewBox: 0 0 10 10; stroke: rgba(230,230,250,.45); stroke-width: .01; stroke-linecap: round; line*20x20 { x1, y1, x2, y2: @p( @nx(-26) @ny(-2) @nx @ny, @nx @ny(-3) @nx(-4) @ny, @nx @ny(-24) @nx @ny ); } ); } @nth(@size) { @size: 1024px; @place: 50% 600px; font-size: 22px; :after { content: '꧁༺❀༒ൢ❀༻꧂꧁༺❀ൢ༒ൢ❀༻꧂꧁༺❀ൢ༒ൢ❀༻꧂꧁༺❀ൢ༒ൢ❀༻꧂꧁༺❀༒ൢ❀༻꧂';} } @keyframes rot { to { transform: rotate(360deg); } } :doodle {@size: 620px 240px;left: 40px;bottom: 60px;cursor: pointer;z-index: 3;}@size: 50px;@place: calc(@col * 40px - 20px) calc(@row * 40px - 20px);font: normal 26px / 30px sans-serif;color:black;text-shadow: 1px 1px 2px #000;opacity: 0;:before {content: @pn([‍‍《春燕》‍‍‍‍‍‍‍‍‍‍檐前日暖翩翩过,帘外风轻对对斜。偏是社来还社去,年年不见腊梅花。]);}animation: show .3s calc((@i - 1) * .3s) linear forwards var(--state);@keyframes show { to { opacity: 1; } } :doodle { @size: auto 4em; bottom: 10px; --geci: "css-doodle player"; --motion: cover2; --tt: 1s; } /* 单元格两个伪元素显示lrc歌词 */ display: grid; place-items: center start; :before, :after { content: var(--geci); color:AntiqueWhite; /* 歌词底色 */ font: bold 1em sans-serif; text-shadow: 1px 1px 2px #000; white-space: pre; } :after { position: absolute; width: 0; color: Tan; /* 同步歌词颜色 */ 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%; } }

前一篇: 光辉岁月(学习黑师《花潮完美时钟》效果)
下一篇: 我以为(学习黑师图文小贴子效果)

发表评论:

  
 

评论列表 [2条]

#2 | 飞飞 于 2023-6-6 07:23 发布: 这是一朵花,搁这里像帖子里掉出来的,哈哈

#1 | 马黑 于 2023-6-4 22:52 发布: ❀

Copyright © 2014 All Right Reserved 马黑PHP文章管理整站系统v1.8
联系我们: gxblk@163.com