你是我的城堡
本帖最后由 zlpi@163.com 于 2024-1-29 17:23 编辑 <br /><br /><style>#papa { margin: 0 0 0 calc(50% - 596px); width: 1200px; height: 700px; position: relative; background: silver url('https://shanlr.s3-us-east-1.ossfiles.com/1.29/t1.jpg') 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; bottom: 20px; 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: 30px; animation: rotating 6s infinite linear var(--state); }
#lrc { --motion: cover2; --tt: 1s; --bg: linear-gradient(180deg,hsla(30,100%,100%,.95),hsla(108,100%,30%,.95)); position: absolute; top: 605px; font: bold 2.6em 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: 300px; height: 300px; object-fit: cover; aspect-ratio: 1; border-radius: 50%; cursor: pointer; mix-blend-mode: overlay; }
#papa video {
position: absolute;
width: 60%;
height: 60%;
top:-10px; left: 0px;
object-fit: cover; pointer-events: none; mix-blend-mode: screen; z-index: 1; opacity: .75;}
.ipic { position: absolute; bottom: 0; transform: skew(-3deg); transform-origin: bottom center; animation: skew 1.5s var(--delay) infinite alternate var(--state); }
.ipic:nth-of-type(1) { left: 20px; bottom: -10px; --delay: -2.5s; }
.ipic:nth-of-type(2) { left: 380px; --delay: 0s; }
.ipic:nth-of-type(3) { left: 860px; bottom: -30px; --delay: -3.5s; }
@keyframes rot { to { transform: rotate(1turn); } }
@keyframes skew { to { transform: skew(3deg); } }
@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" src="https://shanlr.s3-us-east-1.ossfiles.com/1.29/h1.png" alt="" />
<img class="ipic" src="https://shanlr.s3-us-east-1.ossfiles.com/1.29/h2.png" alt="" />
<img class="ipic" src="https://shanlr.s3-us-east-1.ossfiles.com/1.29/h3.png" alt="" />
<audio src="https://shanlr.s3-us-east-1.ossfiles.com/1.29/1.mp3" autoplay loop></audio>
<video id="vid" src="https://img.tukuppt.com/video_show/19287209/00/14/65/5e59fc7ac6faf.mp4" loop muted oncontextmenu="return false"></video>
<div id="mplayer">
<p><img id="btnplay" src="https://shanlr.s3-us-east-1.ossfiles.com/1.29/xx.jpg" 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://shanlr.s3-us-east-1.ossfiles.com/1.29/lrcku_range.js';
sf.charset = 'utf-8';
document.querySelector('body').appendChild(sf);
vid.onclick = (e) => aud.paused ? aud.play() : aud.pause();
</script>
这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!! 这个作品漂亮!!!!