楼主: 婴宁

[代码教程] 【经典】音画代码(与大家共享)

[复制链接]
九重春色来

**念聪聪**

金凤凰

版主勋章 江湖之上 江湖帅哥 海洋之心 蝴蝶精灵 诗中之仙 山间红叶 花漫千山 音画同行 中秋月圆 欢度国庆 雪花精灵 七夕之桥 樱果相依
发表于 2023-8-24 16:50 | 显示全部楼层
我多年没取过源代码了,过去右键就会出现源文件,
复制下来,修改自己帖子的大小加上自己的音乐就可以
现在没试过,六七年没做图不知道为什么,
居然一点那个做图的欲望都没了
婴宁你说的很仔细,我们一起学习一下

点评

在帖子里的音画,源代码有点乱,所以,得单独再获取一次。才能获得全面完整的。  发表于 2023-8-24 17:06

评分

1

查看全部评分

点评
回复

使用道具

清风八咏楼

鲲鹏鸟

江湖之上 蝴蝶精灵 音画同行 中秋月圆 欢度国庆 雪花精灵 七夕之桥 樱果相依
发表于 2023-8-24 18:02 | 显示全部楼层
婴宁 发表于 2023-8-24 16:46
这几天琢磨出一个获取音画帖子源代码的法子,和大家分享一下。获取源代码,是为了编辑,把其中的图片和音 ...

辛苦辛苦
点评

我去过很多地方,只遇到很少的我们
回复

使用道具

清风八咏楼

鲲鹏鸟

江湖之上 蝴蝶精灵 音画同行 中秋月圆 欢度国庆 雪花精灵 七夕之桥 樱果相依
发表于 2023-8-24 18:02 | 显示全部楼层
婴宁 发表于 2023-8-24 16:46
这几天琢磨出一个获取音画帖子源代码的法子,和大家分享一下。获取源代码,是为了编辑,把其中的图片和音 ...

空了我去尝试这些套路
点评

我去过很多地方,只遇到很少的我们
回复

使用道具

『默然守候』

小青龙

赴山海 三周年庆 山之勤奋 江湖之上 桃花朵朵 山高为峰 山外有山 巳巳如意 两周年庆 守望千山 少年歌行 海洋之心 蝴蝶精灵 山间红叶 花漫千山 音画同行 中秋月圆 欢度国庆 雪花精灵 一叶知秋 我书我心 樱果相依
发表于 2023-8-26 13:17 | 显示全部楼层
这么多代码,辛苦妞了
点评
回复

使用道具

『默然守候』

小青龙

赴山海 三周年庆 山之勤奋 江湖之上 桃花朵朵 山高为峰 山外有山 巳巳如意 两周年庆 守望千山 少年歌行 海洋之心 蝴蝶精灵 山间红叶 花漫千山 音画同行 中秋月圆 欢度国庆 雪花精灵 一叶知秋 我书我心 樱果相依
发表于 2023-8-26 13:18 | 显示全部楼层
等空了一定好好学习一下。
点评
回复

使用道具

山外有山 山高为峰
发表于 2023-9-4 21:42 | 显示全部楼层
进来混个熟脸
点评
回复

使用道具

千年灵狐

红狐狸

赴山海 山之勤奋 三周年庆 一生安柠 幸福莓满 桃气满满 梅开颜笑 心若葡提 樱果相依 喜上莓梢 猪事顺利 一生一世 前兔似锦 心心相印 两心如一 一心一意 管理勋章 版主勋章 江湖之上 江湖靓女 桃花朵朵 山高为峰 山外有山 巳巳如意 两周年庆 守望千山 少年歌行 少年徐行 海洋之心 蝴蝶精灵 花漫千山 音画同行 映像2024 雪花精灵 开卷有益 一叶知秋 我书我心 甜心百灵 星河有你 七夕之桥 新春美食 山海靓女
 楼主| 发表于 2023-9-4 21:50 | 显示全部楼层

阙歌好,知道我是谁吗?
点评
回复

使用道具

千年灵狐

红狐狸

赴山海 山之勤奋 三周年庆 一生安柠 幸福莓满 桃气满满 梅开颜笑 心若葡提 樱果相依 喜上莓梢 猪事顺利 一生一世 前兔似锦 心心相印 两心如一 一心一意 管理勋章 版主勋章 江湖之上 江湖靓女 桃花朵朵 山高为峰 山外有山 巳巳如意 两周年庆 守望千山 少年歌行 少年徐行 海洋之心 蝴蝶精灵 花漫千山 音画同行 映像2024 雪花精灵 开卷有益 一叶知秋 我书我心 甜心百灵 星河有你 七夕之桥 新春美食 山海靓女
 楼主| 发表于 2023-9-4 21:53 | 显示全部楼层
《笑问情缘》地址:http://qslt.net/forum.php?mod=viewthread&tid=4239,代码如下:


  1. <div style="z-index: 127;width: 1234px; height: 700px; margin-top:50px; margin-left:-30px;  box-shadow: 0px 0px 0px 2px #ffffff, 0px 0px 0px 15px #8624A9 overflow: hidden;transform:  rotate(0deg);background:url('https://s1.ax1x.com/2023/08/20/pP8oEKs.jpg')0 0/100%  100%,linear-gradient(50deg, #4124A9, #ff0000, #000000, #00f000);text-align: center;">
  2. <div class="HT">
  3. <div  id="testImg" class="mm">
  4. <img src="http://qslt.net/data/attachment/forum/202308/23/155501fl73xfpxl6gbxlol.gif" />
  5. <img src="http://qslt.net/data/attachment/forum/202308/23/153735kfutbs33utqf43bf.gif" />
  6. <img src="http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif" />
  7. <img src="http://qslt.net/data/attachment/forum/202308/23/135840em114m944us654zk.gif" />
  8. <img src="http://qslt.net/data/attachment/forum/202308/23/153755bnekx3e2lje22key.gif" />
  9. <img src="http://qslt.net/data/attachment/forum/202308/23/153756a779k92acz393a9s.gif" />
  10. <img src="http://qslt.net/data/attachment/forum/202308/23/155439e9i44y49z489gzm1.gif" />

  11. <img src="http://qslt.net/data/attachment/forum/202308/23/160431x8mg0gcgi0kkbbfc.gif" />
  12. <img src="http://qslt.net/data/attachment/forum/202308/23/161421oprhqp0a85k5a9p0.gif" />

  13. <img src="http://qslt.net/data/attachment/forum/202308/23/200919q66jus7ff8zpkfmp.gif" />
  14. <img src="http://qslt.net/data/attachment/forum/202308/23/214850g17fz14kqeri5zqr.gif" />
  15. <img src="http://qslt.net/data/attachment/forum/202308/23/214850evzachza3fhxzetf.gif" />
  16. <img src="http://qslt.net/data/attachment/forum/202308/24/153924yp4qudhrd2g6qv6p.gif" />

  17. <img src="http://qslt.net/data/attachment/forum/202308/24/154118oxjzrfdvffxfaffa.gif" />

  18. </div>
  19. <audio autoplay=""  id="MusicPlayer"  src="https://music.163.com/song/media/outer/url?id=133875" loop="" ></audio>

  20. <div class="img_border" ><img id="aplay" style="width: 100px; height: 100px;mask: radial-gradient(transparent 6px,#red 0);-webkit-mask: radial-gradient(transparent 6px,red 0);background: url()0 0/100% 100%,url('https://s1.ax1x.com/2023/08/19/pP3xdS0.jpg')-460px 60px/160% 100%; "></div>

  21.       <div class="btn">
  22.     <div   id="testImg" onclick="bf()"> <input type="button"  id="testBtn"value="暂停"style="width: 100px; height: 40px;border-radius: 0%;color: #000000;font-size:20px;font-weight:bold;border:1px solid #000000;"> </div>
  23. </div>

  24. <div class="lrc">
  25. <ul id="ullrc">
  26.          </ul>
  27.       </div></div>
  28. </div>

  29. <style type="text/css">

  30. .mm img{width:150px;
  31.                 height: 250px;
  32.                 position: absolute;
  33.                 left:100px;
  34.                 top:0px;z-index: 10;
  35.                 box-shadow:  0px 0px 0px 2px #000000, 0px 0px 0px 8px #cccccc;
  36. background-size:100% 100%;
  37.                 border-radius: 0px;
  38.             }
  39.              .mm img:nth-child(1){
  40.                 transform:  translateZ(450px);}
  41.             .mm img:nth-child(2){
  42.                 transform: rotateY(40deg) translateZ(450px);
  43.             }
  44.             .mm img:nth-child(3){
  45.                 transform: rotateY(80deg) translateZ(450px);
  46.             }
  47.             .mm img:nth-child(4){
  48.                 transform: rotateY(120deg) translatez(450px);
  49.             }
  50.             .mm img:nth-child(5){
  51.                 transform: rotateY(160deg) translatez(450px);
  52.             }
  53.             .mm img:nth-child(6){
  54.                 transform: rotateY(200deg) translatez(450px);
  55.             }
  56.             .mm img:nth-child(7){
  57.                 transform: rotateY(240deg) translatez(450px);
  58.             }
  59.             .mm img:nth-child(8){
  60.                 transform: rotateY(280deg)translatez(450px);
  61.             }
  62.             .mm img:nth-child(9){
  63.                 transform: rotateY(320deg) translatez(450px);
  64.             }



  65.             .mm img:nth-child(1):stop{
  66.                }
  67.             .mm img:nth-child(2):stop{
  68.                
  69.             }
  70.             .mm img:nth-child(3):stop{
  71.                
  72.             }
  73.             .mm img:nth-child(4):stop{
  74.                
  75.             }
  76.             .mm img:nth-child(5):stop{
  77.                
  78.             }
  79.             .mm img:nth-child(6):stop{
  80.             }
  81.             .mm img:nth-child(7):stop{
  82.                
  83.             }
  84.             .mm img:nth-child(8):stop{
  85.                
  86.             }
  87.             .mm img:nth-child(9):stop{
  88.                
  89.             }
  90.            .stop{
  91.               animation-play-state:paused;
  92.                }
  93.             .mm{
  94.                 margin: 160px auto;
  95.                 width: 260px;
  96.                 height: 180px;
  97.                 transform-style: preserve-3d;
  98.                 animation-name: animate;
  99.                 animation-duration: 50s;
  100.                 animation-iteration-count: infinite;
  101.                 animation-timing-function: linear;

  102.                 position: relative;
  103.             }
  104.             @keyframes animate  {
  105.                 from {transform: rotatex(-20deg) rotateY(0deg);}
  106. 50% {transform: rotatex(20deg) rotateY(-720deg);}
  107.                 to {transform: rotatex(-20deg) rotateY(0deg);}
  108.             }


  109. </style>
  110. <style type="text/css">.items  { animation: slider 0.26s linear infinite ; }
  111. @keyframes slider {from {opacity: 1;filter:hue-rotate(360deg)contrast(180%)brightness(200%);}
  112. 50% {opacity: 1;}to {opacity: 1;filter:hue-rotate(0deg)contrast(140%)brightness(100%);}}
  113. </style>
  114. <script >
  115. var image = document.getElementById("testImg"),
  116.     button = document.getElementById("testBtn");
  117.    
  118. if (image.classList && image && button) {
  119.     button.onclick = function() {
  120.         if (this.value == '暂停') {
  121.             image.classList.add('stop');
  122.             this.value = '播放';
  123.         } else {
  124.             image.classList.remove('stop');
  125.             this.value = '暂停';
  126.         }
  127.     };
  128. }
  129. </script>


  130. <style type="text/css">
  131. .HT{
  132.     width: 1000px;position: absolute;top:0px; left:0px;
  133. }
  134. #MusicPlayer{
  135.     width: 150px;
  136.     display: block;
  137.     margin: 0 auto;
  138. }
  139. .btn{
  140.     display: block;z-index: 300;
  141.     margin: 0px 0px;position: absolute;top:540px; left:20px;
  142. }
  143. .lrc{
  144.     width: 870px;
  145.     height: 140px;
  146.     overflow: hidden;filter:drop-shadow(#FFFfff 1px 0 0)drop-shadow(#FFFfff 0 1px 0)drop-shadow(#FFFfff -1px 0 0) drop-shadow(#FFFfff 0 -1px  0);
  147.     display: block;position: absolute;top:500px; left:60px;z-index: 30;
  148.     margin: 0 auto;
  149. }
  150. .lrc #ullrc{
  151.     width: 100%;
  152.     padding: 0;
  153.     list-style: none;
  154.     transition: 0.3s all ease;
  155.     margin: 0;
  156. }
  157. /*歌词普通样式*/
  158. .lrc #ullrc li{
  159.     height: 80px;
  160.     line-height: 60px;
  161. font-family:华文隶书;
  162.     font-size: 0px;
  163.     color: #000078;transform: translate(0%,0%);
  164.     font-weight: normal;
  165.     transition: .3s all ease;/*一定要加上不然看着突兀*/
  166.     list-style-type: none;
  167.     text-align: center;
  168.     display: block;
  169.     width: 100%;
  170.     margin: 0 auto;-webkit-background-clip: text;
  171.      -webkit-text-fill-color: transparent;
  172.      background-color: red;
  173.      background-image:linear-gradient(50deg, #fff000, #ff0000, #000000, #00f000);
  174.      background-repeat:no-repeat;
  175.      background-position: -800px 0;
  176.      -webkit-animation:loop 3s linear infinite;

  177. }
  178. /*动态歌词样式*/
  179. .lrc #ullrc li.active{
  180.     font-size: 45px;
  181.     color: #ff0000;transform: translate(0%,0%);
  182.     font-weight: bold;
  183. }

  184. @-webkit-keyframes loop{
  185.      0%{background-position: -800px 0;}
  186.      100%{background-position: -0 0;}
  187. }

  188. /*mv动画*/
  189. .img_border{display:inline-block;width:50px;height:50px;position: absolute;top:540px; left:810px;z-index: 14;}
  190. .img_border #aplay{border:2px solid #cccccc;border-radius:50%; transition: .3s all ease;/*一定要加上不然看着突兀*/ }
  191. .z360z{animation:rotating 8s linear infinite;
  192. }@keyframes rotating  {
  193. from {transform: rotate(0deg);}
  194. to {transform: rotate(360deg);}
  195. }

  196. </style>

  197. <script>var lrc =`;
  198. function $(id) {return document.getElementById(id);
  199. }//这样写以后getid方便
  200. function getLrcArray() {
  201.     var parts = lrc.split("\n");
  202.     for (let index = 0; index < parts.length; index++) {
  203.         parts[index] = getLrcObj(parts[index]);
  204.     }
  205.     return parts;

  206.     function getLrcObj(content) {
  207.         var twoParts = content.split("]");
  208.         var time = twoParts[0].substr(1);
  209.         var timeParts = time.split(":");
  210.         var seconds = +timeParts[1];
  211.         var min = +timeParts[0];
  212.         seconds = min * 60 + seconds;
  213.         var words = twoParts[1];
  214.         return{
  215.             seconds: seconds,
  216.             words: words,
  217.         };
  218.     }
  219. }

  220. var lrcArray = getLrcArray();

  221. function inputLrc() {
  222.     for (let index = 0; index < lrcArray.length; index++) {
  223.         var li = document.createElement("li");
  224.         li.innerText = lrcArray[index].words;
  225.         $("ullrc").appendChild(li);
  226.     }
  227. }

  228. inputLrc();

  229. function setPosition() {
  230.     var index = getLrcIndex();
  231.     if (index == -1) {
  232.         return;
  233.     }
  234.     var lrc_li_height = 80, lrc_ul_height = 70;
  235.     var top = index * lrc_li_height + lrc_li_height / 2 - lrc_ul_height / 2;
  236.     if (top < 0) {
  237.         top = 0;
  238.     }
  239.     $("ullrc").style.marginTop = -top + "px";
  240.     var activeLi = $("ullrc").querySelector(".active");
  241.     if(activeLi){
  242.         activeLi.classList.remove("active");
  243.     }
  244.     $("ullrc").children[index].classList.add("active");
  245. }

  246. var turn = 0;

  247. function getLrcIndex(){
  248.     var time = $("MusicPlayer").currentTime + turn;
  249.     for (var index = 0; index < lrcArray.length; index++) {
  250.         if (lrcArray[index].seconds > time) {
  251.             return index - 1;
  252.         }
  253.     }
  254. }

  255. $("MusicPlayer").ontimeupdate = setPosition;
  256. </script>
  257. <script>
  258.          function bf() {
  259.             var audio = document.getElementById('MusicPlayer');
  260.             var bf=document.getElementById("bf");
  261.             if (audio !== null) {
  262.                 if (audio.paused) {
  263.                     audio.play(); //audio.play();
  264.                     bf.innerText="";
  265.                 } else {
  266.                     audio.pause();
  267.                     bf.innerText="";
  268.                 }
  269.             }
  270.         }
  271. var image = document.getElementById("testImg"),
  272.     button = document.getElementById("testBtn");
  273.    
  274. if (image.classList && image && button) {
  275.     button.onclick = function() {
  276.         if (this.value == '暂停') {
  277.             image.classList.add('stop');
  278.             this.value = '播放';
  279.         } else {
  280.             image.classList.remove('stop');
  281.             this.value = '暂停';
  282.         }
  283.     };
  284. }
  285. var my_audio =document.getElementById("MusicPlayer");my_audio.onended = function(){document.getElementById("aplay").className="";};my_audio.onplaying = function()

  286. {document.getElementById("aplay").className="z360z";};my_audio.onpause = function(){document.getElementById("aplay").className="";};var lyric = parseLyric(songkrc);
  287. </script>
复制代码


《三生三世》地址:http://qslt.net/forum.php?mod=viewthread&tid=4240 ,代码如下:
  1. <br>

  2. <style type="text/css">
  3. .lyricDisp{-webkit-text-stroke:1px #ffffff;font: bold 2em  悟空大字库, sans-serif; transition:.3s all ease;font-size:2.2em;}
  4. .lyricDisp:nth-child(1){color:#000080;text-align:left;--aniName:bgMove1;--durTime:100ms;--aniPlayState:running;}
  5. .lyricDisp:nth-child(1)::before{position:absolute;content:attr(data-lrc);width:0;height:100%;left:0;top:0;color: transparent;background: linear-gradient(45deg, #F32121 32%,#8EE73C 43%,#FEFFFF 52%,#FEFFFF 62%,#36F4B1 75%);-webkit-background-clip: text;-webkit-text-stroke:2px #000000;filter: contrast(110%)brightness(160%);overflow:hidden;white-space:nowrap;animation:var(--aniName) var(--durTime) linear forwards;animation-play-state:var(--aniPlayState);}
  6. .lyricDisp:nth-child(2){color: transparent;background: linear-gradient(45deg, #F32121 32%,#8EE73C 43%,#FEFFFF 52%,#FEFFFF 62%,#36F4B1 75%);-webkit-background-clip: text;-webkit-text-stroke:2px #000000;text-align:center;font-size:2.2em;}@keyframes bgMove1{from{width:0;}to{width:100%;}}@keyframes bgMove0{from{width:0;}to{width:100%;}}
  7. #LRCShow{position:absolute;left:15%;bottom:10px;width:100%;height:100px;margin:16px auto position:relative;z-index: 11}#rdisk{position:absolute;left:20px;bottom:10px;border-radius: 50%;font-size:4em;color:red;animation:circleSmall2 10s linear infinite;animation-play-state:paused;cursor:pointer;z-index: 11}@keyframes circleSmall2{0%{transform:rotateX(40deg) rotateY(20deg) rotateZ(0deg);}100%{transform:rotateX(40deg) rotateY(20deg) rotate(360deg);}}
  8.        

  9. #hWindow {
  10.         width:1200px;
  11.                 height:620px;
  12.                
  13.                 bbbackground-size:cover;
  14.                
  15.                
  16.                 position: relative;
  17.                 margin:0px  0px;
  18.                 overflow:hidden;
  19.                 z-index: 9;
  20.         }

  21. #mpic { position: absolute;
  22.         top: 0px;
  23.         left: 0px;
  24.         width: 1200px;z-index: 10;
  25.         height: 620px;
  26.         animation: fly 100s linear infinite;
  27.         cursor: pointer;
  28.         opacity: 0;
  29. }
  30. #mpicc { position: absolute;
  31.         top: 0px;
  32.         left: 0px;
  33.         width: 1200px;z-index: 10;
  34.         height: 620px;
  35.         animation: tot 80s linear infinite;
  36.         cursor: pointer;
  37.         opacity: 0;
  38. }

  39. #hWindow:hover #mpic { position: absolute;
  40.         top: 0px;
  41.         left: 0px;
  42.         width: 1200px;z-index: 10;
  43.         height: 620px;
  44.         animation: fly 100s linear infinite;
  45.         cursor: pointer;
  46.         opacity: 1; transition: 0.3s;
  47. }
  48. #hWindow:hover #mpicc { position: absolute;
  49.         top: 0px;
  50.         left: 0px;
  51.         width: 1200px;z-index: 10;
  52.         height: 620px;
  53.         animation: tot 80s linear infinite;
  54.         cursor: pointer;
  55.         opacity: 1; transition: 0.3s;
  56. }

  57. @keyframes fly {0%{
  58.         background-position: 600% 0;
  59.     }
  60.     100%{
  61.         background-position: 30% 1600%;filter:hue-rotate(360deg)
  62.     }
  63. }
  64. @keyframes tot { 0%{
  65.         background-position: 0% -1600%;
  66.     }
  67.     100%{
  68.         background-position: 0% 0%;filter:hue-rotate(360deg)
  69.     }
  70. }

  71. .book {
  72.   position: relative;
  73.   perspective: 730px;
  74.   perspective-origin: center 50px; top: -80px;
  75.   transform: scale(1.5,1.7);
  76.   filter: drop-shadow(0px 5px 5px #cccccc);
  77. }

  78. .page {
  79.   width: 210px;
  80.   height: 300px;
  81.   background-color: #cccccc;
  82.   position: absolute;
  83.   top: 0px;
  84.   right: 50%;
  85.   transform-origin: 100% 100%;
  86.   border: solid #555555 0.4px;
  87.   background-size: 420px 300px;
  88.   background-position: center;
  89.   transform-style: preserve-3d;
  90. }
  91. .page:nth-child(1) {
  92.   transform: rotateX(60deg) rotateY(3deg);
  93. }
  94. .page:nth-child(2) {
  95.   transform: rotateX(60deg) rotateY(4.5deg);
  96. }
  97. .page:nth-child(3) {
  98.   transform: rotateX(60deg) rotateY(6deg);
  99.   
  100.           animation: nextPage 25s infinite -24s steps(1);
  101.   background-size: 420px 300px;
  102.   background-position: -2px -2px;
  103. }
  104. .page:nth-child(4) {
  105.   transform: rotateX(60deg) rotateY(177deg);
  106. }
  107. .page:nth-child(5) {
  108.   transform: rotateX(60deg) rotateY(175.5deg);
  109. }
  110. .page:nth-child(6) {
  111.   transform: rotateX(60deg) rotateY(174deg);
  112.   overflow: hidden;
  113. }
  114. .page:nth-child(6)::after {
  115.   content: "";
  116.   width: 210px;
  117.   height: 300px;
  118.   position: absolute;
  119.   top: 0px;
  120.   right: 0%;
  121.   transform-origin: center;
  122.   transform: rotateY(180deg);
  123.    animation: nextPage 25s -20s infinite steps(1);
  124.   background-size: 420px 300px;
  125.   background-position: 100% -2px;
  126. }

  127. @keyframes nextPage {
  128.   0% {
  129.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  130.   }
  131.   20% {
  132.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  133.   }
  134.   40% {
  135.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  136.   }
  137.   60% {
  138.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  139.   }
  140.   80% {
  141.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  142.   }
  143. }

  144. .gap {
  145.   width: 10px;
  146.   height: 300px;
  147.   background: none;
  148.   transform: rotateX(60deg);
  149.   transform-origin: bottom;
  150.   position: absolute;
  151.   top: 0px;
  152.   left: calc(50% - 5px);
  153. }
  154. .gap::after {
  155.   content: "";
  156.   position: absolute;
  157.   bottom: 0;
  158.   left: 50%;
  159.   transform: translate(-50%, 50%);
  160.   background-color: #555555;
  161.   width: 10px;
  162.   height: 5px;
  163.   border-radius: 50%;
  164. }

  165. .pages, .flips {
  166.   transform-style: preserve-3d;
  167. }

  168. .flip {
  169.   width: 32px;
  170.   height: 300px;
  171.   position: absolute;
  172.   top: 0px;
  173.   transform-origin: 100% 100%;
  174.   right: 100%;
  175.   border: solid #555555;
  176.   border-width: 2px 0px;
  177.   perspective: 8200px;
  178.   perspective-origin: center;
  179.   transform-style: preserve-3d;
  180.   background-size: 420px 300px;
  181. }
  182. .flip::after {
  183.   content: "";
  184.   position: absolute;
  185.   top: 0px;
  186.   right: 0%;
  187.   width: 100%;
  188.   height: 100%;
  189.   transform-origin: center;
  190.   background-size: 420px 300px;
  191. }
  192. .flip.flip1 {
  193.   right: 50%;
  194.   -webkit-animation: flip1 5s infinite ease-in-out;
  195.           animation: flip1 5s infinite ease-in-out;
  196.   border-width: 1px 1px 1px 0;
  197. }
  198. .flip.flip1::after {
  199.   -webkit-animation: nextFlip1 25s -20s infinite steps(1);
  200.           animation: nextFlip1 25s -20s infinite steps(1);
  201. }
  202. .flip:not(.flip1) {
  203.   right: calc(100% - 2px);
  204.   top: -2px;
  205.   transform-origin: right;
  206.   -webkit-animation: flip2 5s ease-in-out infinite;
  207.           animation: flip2 5s ease-in-out infinite;
  208. }
  209. .flip.flip2::after {
  210.   -webkit-animation: nextFlip2 25s -20s infinite steps(1);
  211.           animation: nextFlip2 25s -20s infinite steps(1);
  212. }
  213. .flip.flip3::after {
  214.   -webkit-animation: nextFlip3 25s -20s infinite steps(1);
  215.           animation: nextFlip3 25s -20s infinite steps(1);
  216. }
  217. .flip.flip4::after {
  218.   -webkit-animation: nextFlip4 25s -20s infinite steps(1);
  219.           animation: nextFlip4 25s -20s infinite steps(1);
  220. }
  221. .flip.flip5::after {
  222.   -webkit-animation: nextFlip5 25s -20s infinite steps(1);
  223.           animation: nextFlip5 25s -20s infinite steps(1);
  224. }
  225. .flip.flip6::after {
  226.   -webkit-animation: nextFlip6 25s -20s infinite steps(1);
  227.           animation: nextFlip6 25s -20s infinite steps(1);
  228. }
  229. .flip.flip7::after {
  230.   -webkit-animation: nextFlip7 25s -20s infinite steps(1);
  231.           animation: nextFlip7 25s -20s infinite steps(1);
  232. }
  233. .flip.flip7 {
  234.   width: 30px;
  235.   border-width: 1px 0px 1px 1px;
  236. }
  237. .flip.flip7::after {
  238.   -webkit-animation: nextFlip7 25s -20s infinite steps(1);
  239.           animation: nextFlip7 25s -20s infinite steps(1);
  240. }

  241. @keyframes flip1 {
  242.   0%, 20% {
  243.     transform: rotateX(60deg) rotateY(6deg);
  244.   }
  245.   80%, 100% {
  246.     transform: rotateX(60deg) rotateY(174deg);
  247.   }
  248. }

  249. @keyframes flip2 {
  250.   0%, 20% {
  251.     transform: rotateY(0deg) translateY(0px);
  252.   }
  253.   50% {
  254.     transform: rotateY(-15deg) translateY(0px);
  255.   }
  256. }


  257. @keyframes nextFlip1 {
  258.   0% {
  259.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  260.     background-position: -178px -2px;
  261.     transform: rotateY(0deg);
  262.   }
  263.   10% {
  264.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  265.     background-position: -210px -2px;
  266.     transform: rotateY(180deg);
  267.   }
  268.   20% {
  269.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  270.     background-position: -178px -2px;
  271.     transform: rotateY(0deg);
  272.   }
  273.   30% {
  274.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  275.     background-position: -210px -2px;
  276.     transform: rotateY(180deg);
  277.   }
  278.   40% {
  279.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  280.     background-position: -178px -2px;
  281.     transform: rotateY(0deg);
  282.   }
  283.   50% {
  284.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  285.     background-position: -210px -2px;
  286.     transform: rotateY(180deg);
  287.   }
  288.   60% {
  289.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  290.     background-position: -178px -2px;
  291.     transform: rotateY(0deg);
  292.   }
  293.   70% {
  294.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  295.     background-position: -210px -2px;
  296.     transform: rotateY(180deg);
  297.   }
  298.   80% {
  299.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  300.     background-position: -178px -2px;
  301.     transform: rotateY(0deg);
  302.   }
  303.   90% {
  304.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  305.     background-position: -210px -2px;
  306.     transform: rotateY(180deg);
  307.   }
  308. }

  309. @keyframes nextFlip2 {
  310.   0% {
  311.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  312.     background-position: -148px -2px;
  313.     transform: rotateY(0deg);
  314.   }
  315.   10.5% {
  316.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  317.     background-position: -238px -2px;
  318.     transform: rotateY(180deg);
  319.   }
  320.   20% {
  321.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  322.     background-position: -148px -2px;
  323.     transform: rotateY(0deg);
  324.   }
  325.   30.5% {
  326.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  327.     background-position: -238px -2px;
  328.     transform: rotateY(180deg);
  329.   }
  330.   40% {
  331.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  332.     background-position: -148px -2px;
  333.     transform: rotateY(0deg);
  334.   }
  335.   50.5% {
  336.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  337.     background-position: -238px -2px;
  338.     transform: rotateY(180deg);
  339.   }
  340.   60% {
  341.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  342.     background-position: -148px -2px;
  343.     transform: rotateY(0deg);
  344.   }
  345.   70.5% {
  346.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  347.     background-position: -238px -2px;
  348.     transform: rotateY(180deg);
  349.   }
  350.   80% {
  351.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  352.     background-position: -148px -2px;
  353.     transform: rotateY(0deg);
  354.   }
  355.   90.5% {
  356.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  357.     background-position: -238px -2px;
  358.     transform: rotateY(180deg);
  359.   }
  360. }

  361. @keyframes nextFlip3 {
  362.   0% {
  363.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  364.     background-position: -118px -2px;
  365.     transform: rotateY(0deg);
  366.   }
  367.   11% {
  368.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  369.     background-position: -268px -2px;
  370.     transform: rotateY(180deg);
  371.   }
  372.   20% {
  373.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  374.     background-position: -118px -2px;
  375.     transform: rotateY(0deg);
  376.   }
  377.   31% {
  378.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  379.     background-position: -268px -2px;
  380.     transform: rotateY(180deg);
  381.   }
  382.   40% {
  383.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  384.     background-position: -118px -2px;
  385.     transform: rotateY(0deg);
  386.   }
  387.   51% {
  388.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  389.     background-position: -268px -2px;
  390.     transform: rotateY(180deg);
  391.   }
  392.   60% {
  393.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  394.     background-position: -118px -2px;
  395.     transform: rotateY(0deg);
  396.   }
  397.   71% {
  398.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  399.     background-position: -268px -2px;
  400.     transform: rotateY(180deg);
  401.   }
  402.   80% {
  403.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  404.     background-position: -118px -2px;
  405.     transform: rotateY(0deg);
  406.   }
  407.   91% {
  408.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  409.     background-position: -268px -2px;
  410.     transform: rotateY(180deg);
  411.   }
  412. }

  413. @keyframes nextFlip4 {
  414.   0% {
  415.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  416.     background-position: -88px -2px;
  417.     transform: rotateY(0deg);
  418.   }
  419.   11.5% {
  420.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  421.     background-position: -298px -2px;
  422.     transform: rotateY(180deg);
  423.   }
  424.   20% {
  425.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  426.     background-position: -88px -2px;
  427.     transform: rotateY(0deg);
  428.   }
  429.   31.5% {
  430.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  431.     background-position: -298px -2px;
  432.     transform: rotateY(180deg);
  433.   }
  434.   40% {
  435.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  436.     background-position: -88px -2px;
  437.     transform: rotateY(0deg);
  438.   }
  439.   51.5% {
  440.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  441.     background-position: -298px -2px;
  442.     transform: rotateY(180deg);
  443.   }
  444.   60% {
  445.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  446.     background-position: -88px -2px;
  447.     transform: rotateY(0deg);
  448.   }
  449.   71.5% {
  450.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  451.     background-position: -298px -2px;
  452.     transform: rotateY(180deg);
  453.   }
  454.   80% {
  455.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  456.     background-position: -88px -2px;
  457.     transform: rotateY(0deg);
  458.   }
  459.   91.5% {
  460.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  461.     background-position: -298px -2px;
  462.     transform: rotateY(180deg);
  463.   }
  464. }

  465. @keyframes nextFlip5 {
  466.   0% {
  467.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  468.     background-position: -58px -2px;
  469.     transform: rotateY(0deg);
  470.   }
  471.   12% {
  472.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  473.     background-position: -328px -2px;
  474.     transform: rotateY(180deg);
  475.   }
  476.   20% {
  477.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  478.     background-position: -58px -2px;
  479.     transform: rotateY(0deg);
  480.   }
  481.   32% {
  482.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  483.     background-position: -328px -2px;
  484.     transform: rotateY(180deg);
  485.   }
  486.   40% {
  487.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  488.     background-position: -58px -2px;
  489.     transform: rotateY(0deg);
  490.   }
  491.   52% {
  492.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  493.     background-position: -328px -2px;
  494.     transform: rotateY(180deg);
  495.   }
  496.   60% {
  497.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  498.     background-position: -58px -2px;
  499.     transform: rotateY(0deg);
  500.   }
  501.   72% {
  502.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  503.     background-position: -328px -2px;
  504.     transform: rotateY(180deg);
  505.   }
  506.   80% {
  507.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  508.     background-position: -58px -2px;
  509.     transform: rotateY(0deg);
  510.   }
  511.   92% {
  512.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  513.     background-position: -328px -2px;
  514.     transform: rotateY(180deg);
  515.   }
  516. }

  517. @keyframes nextFlip6 {
  518.   0% {
  519.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  520.     background-position: -28px -2px;
  521.     transform: rotateY(0deg);
  522.   }
  523.   12.5% {
  524.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  525.     background-position: -358px -2px;
  526.     transform: rotateY(180deg);
  527.   }
  528.   20% {
  529.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  530.     background-position: -28px -2px;
  531.     transform: rotateY(0deg);
  532.   }
  533.   32.5% {
  534.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  535.     background-position: -358px -2px;
  536.     transform: rotateY(180deg);
  537.   }
  538.   40% {
  539.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  540.     background-position: -28px -2px;
  541.     transform: rotateY(0deg);
  542.   }
  543.   52.5% {
  544.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  545.     background-position: -358px -2px;
  546.     transform: rotateY(180deg);
  547.   }
  548.   60% {
  549.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  550.     background-position: -28px -2px;
  551.     transform: rotateY(0deg);
  552.   }
  553.   72.5% {
  554.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  555.     background-position: -358px -2px;
  556.     transform: rotateY(180deg);
  557.   }
  558.   80% {
  559.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  560.     background-position: -28px -2px;
  561.     transform: rotateY(0deg);
  562.   }
  563.   92.5% {
  564.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  565.     background-position: -358px -2px;
  566.     transform: rotateY(180deg);
  567.   }
  568. }

  569. @keyframes nextFlip7 {
  570.   0% {
  571.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  572.     background-position: -2px -2px;
  573.     transform: rotateY(0deg);
  574.   }
  575.   13% {
  576.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  577.     background-position: -388px -2px;
  578.     transform: rotateY(180deg);
  579.   }
  580.   20% {
  581.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/153709juz9couobuibc9ub.gif");
  582.     background-position: -2px -2px;
  583.     transform: rotateY(0deg);
  584.   }
  585.   33% {
  586.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  587.     background-position: -388px -2px;
  588.     transform: rotateY(180deg);
  589.   }
  590.   40% {
  591.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/203859rly83rrrycqddyrj.gif");
  592.     background-position: -2px -2px;
  593.     transform: rotateY(0deg);
  594.   }
  595.   53% {
  596.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  597.     background-position: -388px -2px;
  598.     transform: rotateY(180deg);
  599.   }
  600.   60% {
  601.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/161422nr3rxptjedpe9ze3.gif");
  602.     background-position: -2px -2px;
  603.     transform: rotateY(0deg);
  604.   }
  605.   73% {
  606.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  607.     background-position: -388px -2px;
  608.     transform: rotateY(180deg);
  609.   }
  610.   80% {
  611.     background-image: url("http://qslt.net/data/attachment/forum/202308/24/204124y55y6puvzfcf3a5p.gif");
  612.     background-position: -2px -2px;
  613.     transform: rotateY(0deg);
  614.   }
  615.   93% {
  616.     background-image: url("http://qslt.net/data/attachment/forum/202308/23/135936comwvy6vpucp2b6h.gif");
  617.     background-position: -388px -2px;
  618.     transform: rotateY(180deg);
  619.   }
  620. }


  621. </style>

  622. <div style="z-index: 127;width: 1200px; height: 620px; margin-top:50px; margin-left:30px;  box-shadow: 0px 0px 0px 2px #ffffff, 0px 0px 0px 15px #FAF6F6; overflow: hidden;transform:  rotate(0deg);background:url('https://s1.ax1x.com/2023/08/25/pPtBJ10.jpg')0 0/100%  100%; text-align: center;">

  623. <div id="hWindow">
  624. <div class="gap">&nbsp;</div>

  625. <div class="book">
  626. <div class="pages">
  627. <div class="page">&nbsp;</div>

  628. <div class="page">&nbsp;</div>

  629. <div class="page">&nbsp;</div>

  630. <div class="page">&nbsp;</div>

  631. <div class="page">&nbsp;</div>

  632. <div class="page">&nbsp;</div>
  633. </div>

  634. <div class="flips">
  635. <div class="flip flip1">
  636. <div class="flip flip2">
  637. <div class="flip flip3">
  638. <div class="flip flip4">
  639. <div class="flip flip5">
  640. <div class="flip flip6">
  641. <div class="flip flip7">&nbsp;</div>
  642. </div>
  643. </div>
  644. </div>
  645. </div>
  646. </div>
  647. </div>
  648. </div>
  649. </div>
  650.         <div id="curp"></div>

  651.        <img id="mpic" style="width: 100%; height: 100%;background: url('https://www.kumeiwp.com/sub/filestores/2022/11/09/9d71b312b9587c941a35e338e496ae53.png')0 0/50% 50%">
  652. <img id="mpicc" style="width: 100%; height: 100%;background: url('https://www.kumeiwp.com/sub/filestores/2022/11/09/9d71b312b9587c941a35e338e496ae53.png')0 0/40% 40%">
  653.     <div id="rdisk" style="width:80px;height:80px;border: 2px solid #000000;
  654.         background: url('https://365.tf/disk/tf/1667321249.png')0 0/100% 100%,conic-gradient(red,orange,yellow,green,teal,blue,#ff0000);mask: radial-gradient(transparent 7px,#red 0);transform: rotateX(45deg) rotateY(20deg) rotate(0deg);left:93%;top: 475px;"></div>
  655.     <div id="LRCShow" style="position:absolute;left:15%;bottom:10px;">
  656.               <div class="lyricDisp"></div><div class="lyricDisp">
  657. </div>
  658.         </div>

  659. </div>

  660. </div>

  661. <textarea id="lrc_content" style="visibility: hidden;">                       
  662. </textarea>





复制代码


点评
回复

使用道具

千年灵狐

红狐狸

赴山海 山之勤奋 三周年庆 一生安柠 幸福莓满 桃气满满 梅开颜笑 心若葡提 樱果相依 喜上莓梢 猪事顺利 一生一世 前兔似锦 心心相印 两心如一 一心一意 管理勋章 版主勋章 江湖之上 江湖靓女 桃花朵朵 山高为峰 山外有山 巳巳如意 两周年庆 守望千山 少年歌行 少年徐行 海洋之心 蝴蝶精灵 花漫千山 音画同行 映像2024 雪花精灵 开卷有益 一叶知秋 我书我心 甜心百灵 星河有你 七夕之桥 新春美食 山海靓女
 楼主| 发表于 2023-9-4 21:55 | 显示全部楼层
《江湖再见》地址:http://qslt.net/forum.php?mod=viewthread&tid=4989,代码如下:
  1. <div style="z-index: 127;width: 1200px; height: 630px; margin-top:50px; margin-left:-30px;  box-shadow: 0px 0px 0px 2px #ffffff, 0px 0px 0px 15px #880000; overflow: hidden;transform:  rotate(0deg);;background:url('https://s1.ax1x.com/2023/08/25/pPtBJ10.jpg')0 0/100%  100%,linear-gradient(50deg, #4124A9, #ff0000, #000000, #00f000);text-align: center;">


  2. <div   id="testImg" class="mm">
  3. <img src="http://qslt.net/data/attachment/forum/202308/24/203611sd0vzwhiyv0tvyim.gif" />
  4. <img src="http://qslt.net/data/attachment/forum/202308/23/141739g7enwy3u0m0ciwsn.gif" />
  5. <img src="http://qslt.net/data/attachment/forum/202308/23/141739qbnwybjqdoxy4ixn.gif" />
  6. <img src="http://qslt.net/data/attachment/forum/202308/23/141759y5kk0ck30z2a00ka.gif" />
  7. <img src="http://qslt.net/data/attachment/forum/202308/25/202443sxfi46dipziiz2rj.gif" />
  8. <img src="http://qslt.net/data/attachment/forum/202308/25/202539c3dk4dz733b7u2st.gif" />
  9. <img src="http://qslt.net/data/attachment/forum/202308/23/153823pj43g4qj83rz1tr7.gif" />
  10. <img src="http://qslt.net/data/attachment/forum/202308/23/162007deywf9ft94x0h09r.gif" />
  11. <img src="http://qslt.net/data/attachment/forum/202308/25/130225s3b97c93zbdyc6uc.gif" />
  12. <img src="http://qslt.net/data/attachment/forum/202308/23/214818qzqefvugqrkgcurr.gif" />

  13. <img src="http://qslt.net/data/attachment/forum/202308/23/214818fvklkev579h98e8q.gif" />

  14. <img src="http://qslt.net/data/attachment/forum/202308/25/132052eikdl55hph6wkh4d.gif" />
  15. <img src="http://qslt.net/data/attachment/forum/202308/27/122037hdss656lopil4slp.gif" />


  16. <img src="http://qslt.net/data/attachment/forum/202308/24/153924omu50ugavykazzwo.gif" />
  17. <img src="http://qslt.net/data/attachment/forum/202308/27/161208agxxyfcw95cxfw97.gif" />
  18. <img src="http://qslt.net/data/attachment/forum/202308/24/153950h2bqc5qeg255og55.gif" />
  19. <img src="http://qslt.net/data/attachment/forum/202308/24/154117f121h9h7qeqafly8.gif" />

  20. <img src="http://qslt.net/data/attachment/forum/202308/24/154148t8gq2n82n9gefj8u.gif" />

  21. </div>
  22. </div>
  23. <audio autoplay=""  id="MusicPlayer"  src="https://music.163.com/song/media/outer/url?id=33789684" loop="" ></audio>

  24. <div class="img_border" ><img id="aplay" style="width: 100px; height: 100px;mask: radial-gradient(transparent 6px,#red 0);-webkit-mask: radial-gradient(transparent 6px,red 0);background: url()0 0/100% 100%,url('https://s1.ax1x.com/2023/08/19/pP3xdS0.jpg')-460px 60px/160% 100%; "></div>

  25.       <div class="btn">
  26.    <div   id="testImg" onclick="bf()"> <input type="button"  id="testBtn"value="暂停"style="width: 100px; height: 40px;border-radius: 0%;color: #000000;font-size:20px;font-weight:bold;border:1px solid #000000;"> </div>
  27. </div>

  28. <div class="lrc">
  29. <ul id="ullrc">
  30.          </ul>
  31.       </div></div>
  32. </div>

  33. <style type="text/css">

  34. .mm img{width:140px;
  35.                 height: 274px;
  36.                 position: absolute;
  37.                 left:0px;
  38.                     top:0px;z-index: 20;
  39.                 box-shadow:  0px 0px 0px 2px #000000, 0px 0px 0px 6px #88aaaa;
  40. filter:contrast(130%)brightness(100%);
  41.                 border-radius: 0px;
  42.             }
  43.              .mm img:nth-child(1){
  44.                 transform:  rotateX(0deg) translateZ(262px);}
  45.             .mm img:nth-child(2){
  46.                 transform:  rotateX(45deg) translateZ(262px);}
  47.             .mm img:nth-child(3){
  48.                 transform: rotateX(90deg) translatez(262px);}
  49.             .mm img:nth-child(4){
  50.                transform: rotateX(135deg) translatez(262px);
  51.             }
  52.             .mm img:nth-child(5){
  53.                  transform: rotateX(180deg) translatez(262px);
  54.             }
  55.             .mm img:nth-child(6){
  56.                transform: rotateX(225deg) translatez(262px);
  57.             }
  58.             .mm img:nth-child(7){
  59.                 transform: rotateX(270deg) translatez(262px);
  60.             }
  61.             .mm img:nth-child(8){
  62.                 transform: rotateX(315deg) translatez(262px);
  63.             }
  64.             
  65. .mm img:nth-child(9){
  66.                 transform: rotateX(355deg) translatez(262px);
  67.             }
  68. .mm img:nth-child(8){
  69.                 transform: rotateX(395deg) translatez(262px);
  70.             }
  71. .mm img:nth-child(8){
  72.                 transform: rotateX(430deg) translatez(262px);
  73.             }
  74.            .mm img:nth-child(1):stop{
  75.                }
  76.             .mm img:nth-child(2):stop{
  77.                
  78.             }
  79.             .mm img:nth-child(3):stop{
  80.                
  81.             }
  82.             .mm img:nth-child(4):stop{
  83.                
  84.             }
  85.             .mm img:nth-child(5):stop{
  86.                
  87.             }
  88.             .mm img:nth-child(6):stop{
  89.             }
  90.             .mm img:nth-child(7):stop{
  91.                
  92.             }
  93.             .mm img:nth-child(8):stop{
  94.                
  95.             }
  96.              .mm img:nth-child(9):stop{
  97.                
  98.             }
  99.            
  100.             .mm img:nth-child(10):stop{
  101.                
  102.             }


  103.              .mm img:nth-child(11):stop{
  104.                
  105.             }


  106.              .mm img:nth-child(12):stop{
  107.                
  108.             }
  109.            .stop{
  110.               animation-play-state:paused;
  111.                }
  112.             .mm{
  113.                 margin: 200px auto;
  114.                 width: 340px;
  115.                 height: 184px;
  116.                 transform-style: preserve-3d;
  117.                 animation-name: animate;
  118.                 animation-duration: 50s;
  119.                 animation-iteration-count: infinite;
  120.                 animation-timing-function: linear;

  121.                 position: relative;
  122.             }
  123.             @keyframes animate  {
  124.                 0% {
  125.                     transform:rotateX(-10deg) rotateZ(65deg) rotateX(-360deg);
  126.                 }
  127.                 25% {
  128.                     transform:rotateX(10deg) rotateZ(-65deg) rotateX(0deg);
  129.                 }
  130. 50% {
  131.                     transform:rotateX(10deg) rotateZ(65deg) rotateX(360deg);
  132.                 }
  133. 75% {
  134.                     transform:rotateX(-10deg) rotateZ(65deg) rotateX(0deg);
  135.                 }
  136. 100% {
  137.                     transform:rotateX(-10deg) rotateZ(65deg) rotateX(-360deg);
  138.                 }

  139.             }
  140. </style>


  141. <script >
  142. var image = document.getElementById("testImg"),
  143.     button = document.getElementById("testBtn");
  144.    
  145. if (image.classList && image && button) {
  146.     button.onclick = function() {
  147.         if (this.value == '暂停') {
  148.             image.classList.add('stop');
  149.             this.value = '播放';
  150.         } else {
  151.             image.classList.remove('stop');
  152.             this.value = '暂停';
  153.         }
  154.     };
  155. }
  156. </script>


  157. <style type="text/css">
  158. .HT{
  159.     width: 1000px;position: absolute;top:0px; left:0px;
  160. }
  161. #MusicPlayer{
  162.     width: 250px;
  163.     display: block;
  164.     margin: 0 auto;
  165. }
  166. .btn{
  167.     display: block;z-index: 300;
  168.     margin: 0px 0px;position: absolute;top:540px; left:20px;
  169. }
  170. .lrc{
  171.     width: 870px;
  172.     height: 140px;
  173.     overflow: hidden; filter:drop-shadow(#ffffff 1px 0 0)drop-shadow(#ffffff 0 1px 0)drop-shadow(#ffffff -1px 0 0) drop-shadow(#ffffff 0 -1px  0);
  174.     position: absolute;top:500px; left:60px;z-index: 30;
  175.     margin: 0 auto;
  176. }
  177. .lrc #ullrc{
  178.     width: 100%;
  179.     padding: 0;
  180.     list-style: none;
  181.     transition: 0.3s all ease;
  182.     margin: 0;
  183. }
  184. /*歌词普通样式*/
  185. .lrc #ullrc li{
  186.     height: 80px;
  187.     line-height: 60px;
  188. font-family:华文隶书;
  189.     font-size: 0px;
  190.     color: #000078;transform: translate(0%,0%);
  191.     font-weight: normal;
  192.     transition: .3s all ease;/*一定要加上不然看着突兀*/
  193.     list-style-type: none;
  194.     text-align: center;
  195.     display: block;
  196.     width: 100%;
  197.     margin: 0 auto;-webkit-background-clip: text;
  198.      -webkit-text-fill-color: transparent;
  199.      background-color: red;
  200.      background-image:linear-gradient(50deg, #fff000, #ff0000, #000000, #00f000);
  201.      background-repeat:no-repeat;
  202.      background-position: -800px 0;
  203.      -webkit-animation:loop 3s linear infinite;

  204. }
  205. /*动态歌词样式*/
  206. .lrc #ullrc li.active{
  207.     font-size: 45px;
  208.     color: #ff0000;transform: translate(0%,0%);
  209.     font-weight: bold;
  210. }

  211. @-webkit-keyframes loop{
  212.      0%{background-position: -800px 0;}
  213.      100%{background-position: -0 0;}
  214. }

  215. /*mv动画*/
  216. .img_border{display:inline-block;width:150px;height:150px;position: absolute;top:400px; left:810px;z-index: 14;}
  217. .img_border #aplay{border:2px solid #cccccc;border-radius:50%; transition: .3s all ease;/*一定要加上不然看着突兀*/ }
  218. .z360z{animation:rotating 8s linear infinite;
  219. }@keyframes rotating  {
  220. from {transform: rotate(0deg);}
  221. to {transform: rotate(360deg);}
  222. }

  223. </style>

  224. <script>var lrc =`;
  225. function $(id) {return document.getElementById(id);
  226. }//这样写以后getid方便
  227. function getLrcArray() {
  228.     var parts = lrc.split("\n");
  229.     for (let index = 0; index < parts.length; index++) {
  230.         parts[index] = getLrcObj(parts[index]);
  231.     }
  232.     return parts;

  233.     function getLrcObj(content) {
  234.         var twoParts = content.split("]");
  235.         var time = twoParts[0].substr(1);
  236.         var timeParts = time.split(":");
  237.         var seconds = +timeParts[1];
  238.         var min = +timeParts[0];
  239.         seconds = min * 60 + seconds;
  240.         var words = twoParts[1];
  241.         return{
  242.             seconds: seconds,
  243.             words: words,
  244.         };
  245.     }
  246. }

  247. var lrcArray = getLrcArray();

  248. function inputLrc() {
  249.     for (let index = 0; index < lrcArray.length; index++) {
  250.         var li = document.createElement("li");
  251.         li.innerText = lrcArray[index].words;
  252.         $("ullrc").appendChild(li);
  253.     }
  254. }

  255. inputLrc();

  256. function setPosition() {
  257.     var index = getLrcIndex();
  258.     if (index == -1) {
  259.         return;
  260.     }
  261.     var lrc_li_height = 80, lrc_ul_height = 70;
  262.     var top = index * lrc_li_height + lrc_li_height / 2 - lrc_ul_height / 2;
  263.     if (top < 0) {
  264.         top = 0;
  265.     }
  266.     $("ullrc").style.marginTop = -top + "px";
  267.     var activeLi = $("ullrc").querySelector(".active");
  268.     if(activeLi){
  269.         activeLi.classList.remove("active");
  270.     }
  271.     $("ullrc").children[index].classList.add("active");
  272. }

  273. var turn = 0;

  274. function getLrcIndex(){
  275.     var time = $("MusicPlayer").currentTime + turn;
  276.     for (var index = 0; index < lrcArray.length; index++) {
  277.         if (lrcArray[index].seconds > time) {
  278.             return index - 1;
  279.         }
  280.     }
  281. }

  282. $("MusicPlayer").ontimeupdate = setPosition;
  283. </script>
  284. <script>
  285.          function bf() {
  286.             var audio = document.getElementById('MusicPlayer');
  287.             var bf=document.getElementById("bf");
  288.             if (audio !== null) {
  289.                 if (audio.paused) {
  290.                     audio.play(); //audio.play();
  291.                     bf.innerText="";
  292.                 } else {
  293.                     audio.pause();
  294.                     bf.innerText="";
  295.                 }
  296.             }
  297.         }
  298. var image = document.getElementById("testImg"),
  299.     button = document.getElementById("testBtn");
  300.    
  301. if (image.classList && image && button) {
  302.     button.onclick = function() {
  303.         if (this.value == '暂停') {
  304.             image.classList.add('stop');
  305.             this.value = '播放';
  306.         } else {
  307.             image.classList.remove('stop');
  308.             this.value = '暂停';
  309.         }
  310.     };
  311. }
  312. var my_audio =document.getElementById("MusicPlayer");my_audio.onended = function(){document.getElementById("aplay").className="";};my_audio.onplaying = function()

  313. {document.getElementById("aplay").className="z360z";};my_audio.onpause = function(){document.getElementById("aplay").className="";};var lyric = parseLyric(songkrc);
  314. </script>
复制代码

点评
回复

使用道具

山外有山 山高为峰
发表于 2023-10-11 21:37 | 显示全部楼层
婴宁 发表于 2023-9-4 21:50
阙歌好,知道我是谁吗?

问好!知道的,最初认识你是在真爱音乐~~十年以上啦
点评
回复

使用道具

您需要登录后才可以回帖 登录 | 中文注册

本版积分规则

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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