今夜你想我不 TO:走过岁月 (学习黑黑雨巷效果)
<style>#papa { margin: 150px 0 0 calc(50% - 881px); width: 1600px; height: 857px; position: relative; background: silver url('https://wj.zp68.com/lxx/yunhua/2023/02/12/GIF.gif') no-repeat center/cover; box-shadow: 4px 4px 8px rgba(0,0,0,.6); overflow: hidden; display: grid; place-items: center; --state: paused; }
#mplayer { position: absolute; left: 680px;bottom: 15px; text-align: center; color: navy; }
#mplayer p { margin: 0; padding: 0; cursor: pointer; }
#mprog { width: 240px; accent-color: #336699; outline: none; cursor: pointer; }
#btnplay { width: 60px; animation: rotating 6s infinite linear var(--state); }
#lrc { --motion: cover2; --tt: 1s; --bg: linear-gradient(180deg,hsla(100,10%,50%,.75),hsla(100,100%,20%,.65)); position: absolute; left: 120px; top:480px;font: bold 2.0em sans-serif; color: hsl(100, 100%, 90%); white-space: pre; -webkit-background-clip: text; filter: drop-shadow(1px 1px 2px hsla(0, 100%, 0%, .85)); pointer-events: none; z-index: 900; }
#lrc::before { position: absolute; content: attr(data-lrc); width: 0%; height: 100%; color: transparent; overflow: hidden; white-space: pre; background: var(--bg); filter: inherit; background-clip: text; -webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards var(--state); }
#vid { position: absolute; width: 350px; height: 350px; left: 80px;top:50px; object-fit: cover; aspect-ratio: 1; border-radius: 50%; cursor: pointer; mix-blend-mode: overlay; }
.ipic { position: absolute; left: 200px;top:180px;mix-blend-mode: multiply; animation: rotating 6s infinite var(--state); }
@keyframes cover1 { from { width: 0%; }to { width: 100%; } }
@keyframes cover2 { from { width: 0%; }to { width: 100%; } }
@keyframes rotating { to { transform: rotate(360deg); } }
</style>
<div id="papa">
<img class="ipic" alt="" src="https://638183.freep.cn/638183/small/dkxl.webp" />
<audio src="https://wj1.zp68.com:812/lxx/yunhua/2023/03/22/jyxw.mp3" autoplay loop></audio>
<video id="vid" src="https://lk999.oss-cn-guangzhou.aliyuncs.com/fyq.mp4" loop muted oncontextmenu="return false"></video>
<div id="mplayer">
<p><img id="btnplay" src="https://638183.freep.cn/638183/small/dkxl.webp" title="播放/暂停" alt="" /></p>
<p>
<output id="mdu">0:00</output>
<input id="mprog" type="range" min="0" step="1" max="100" value="0" title="调节进度" />
<output id="mcur">0:00</output>
</p>
</div>
<div id="lrc" data-lrc="HuaChao LRC Player">HuaChao LRC Player</div>
</div>
<script>
const geci = [ ,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
const sf = document.createElement('script');
sf.src = 'https://638183.freep.cn/638183/web/js/lrcku_range.js';
sf.charset = 'utf-8';
document.querySelector('body').appendChild(sf);
vid.onclick = (e) => aud.paused ? aud.play() : aud.pause();
</script> @走过岁月
岁月我们好久没有碰到了,你今夜想我不{:4_170:} @马黑黑
黑黑这个是那个效果我忘记了,好像是视频切割,我也是看过忘记了,现在记性特别差 岁月的mp4,做了圆里面的视频效果
这首歌曲是另外一个mp4里面的我就用了歌曲 整个帖都是以前的旧的图和音乐,感谢岁月的视频分享 也是谢谢黑黑的教程代码分享,小辣椒套用玩一个 小辣椒 发表于 2024-2-3 12:04
@马黑黑
黑黑这个是那个效果我忘记了,好像是视频切割,我也是看过忘记了,现在记性特别差
看看代码就清楚 又见到小辣椒,开心!帖子漂亮,欣赏学习了!@岁月收礼开心!{:4_187:} 亦是金 发表于 2024-2-3 12:36
又见到小辣椒,开心!帖子漂亮,欣赏学习了!@岁月收礼开心!
问好前辈,小辣椒这个是直接套用玩玩的 马黑黑 发表于 2024-2-3 12:14
看看代码就清楚
我去找一下 小辣椒 发表于 2024-2-3 12:39
我去找一下
好 马黑黑 发表于 2024-2-3 12:14
看看代码就清楚
黑黑雨巷效果 小辣椒 发表于 2024-2-3 12:02
@走过岁月
岁月我们好久没有碰到了,你今夜想我不
想,天天想,最爱小辣椒 走过岁月 发表于 2024-2-3 12:50
想,天天想,最爱小辣椒
{:4_170:}{:4_189:}{:4_196:}{:4_205:}{:4_172:} 做的不错了,小花点缀画面也很美 亲爱的这个画面布置特别好,各种元素安排得当。特别赞{:4_199:} 使用的岁月视屏也特别合适。欣赏亲爱的好帖。岁月收礼开心{:4_187:} 你这个制作可是别具一格。{:5_116:} 帖子漂亮美美哒{:4_187:}
页:
[1]
2