转角论坛-遇见最好的我们|转角论坛|转角诗歌|转角文萃|转角唱吧|转角音画|转角音乐|转角古风|

楼主: 六六

[其他] 试试

[复制链接]
 楼主| 发表于 2025-8-5 20:23 | 显示全部楼层
轻叩流年 发表于 2025-8-4 15:16
就说那四叶草的代码在哪?你给截个代码图。
  1. <style>
  2. #mama {
  3.         position: relative;
  4.         margin: 20px auto;
  5.         width: 800px;
  6.         height: 450px;
  7.         background: url('https://638183.freep.cn/638183/t22/webp/jyiu.webp') no-repeat center/cover;
  8. }
  9. #mypic {
  10.         position: absolute;
  11.         left: 20px;
  12.         top: 10px;
  13.         width: 120px;
  14.         height: 120px;
  15.         cursor: pointer;
  16.         animation: rot 8s linear infinite var(--state);
  17.         --state: running;
  18. }
  19. @keyframes rot { to { transform: rotate(360deg); } }
  20. </style>


  21. <div id="mama">


  22. <audio id="aud" src="http://music.163.com/song/media/outer/url?id=2730277172.mp3" autoplay loop></audio>
  23.         <img id="mypic" alt="" src="https://638183.freep.cn/638183/small/4yc.png" />
  24. </div>


  25. <script>
  26. //JS代码 : 四叶草点击事件
  27. mypic.onclick = () => {
  28.         aud.paused ? aud.play() : aud.pause();
  29.         mypic.style.setProperty('--state', aud.paused ? 'paused' : 'running');
  30. };
  31. </script>

复制代码


回复

使用道具 举报

 楼主| 发表于 2025-8-5 20:24 | 显示全部楼层
澄思无邪 发表于 2025-8-4 14:54
小岳岳现在向影视发展了,说相声貌似成了副业

是这样的,连郭麒麟都走影视路线了
回复

使用道具 举报

 楼主| 发表于 2025-8-5 20:25 | 显示全部楼层
轻叩流年 发表于 2025-8-4 15:18
那还不容易,多听听呗。

时间少哎
回复

使用道具 举报

 楼主| 发表于 2025-8-5 20:25 | 显示全部楼层
阿岚 发表于 2025-8-4 19:18
我就没听过这版本,他俩啥时候绑的。

就大家合唱那歌的时候吧
回复

使用道具 举报

 楼主| 发表于 2025-8-5 20:26 | 显示全部楼层
澄思无邪 发表于 2025-8-4 14:55
没错,至少可以防止老年痴呆

嗯,这样挺好
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|转角论坛

GMT+8, 2025-10-16 23:05

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表