阿兰精选
<style>#papa {
margin: 150px 0 0 calc(50% - 792px);
position: relative;
width: 1422px;
height: 800px;
background: tan url('https://pic.imgdb.cn/item/65967826871b83018a38f0d3.jpg');
background-blend-mode: difference;
border: 8px solid rgba(0,0,200,.6);
border-radius: 12px;
box-shadow: 3px 3px 20px #ccc;
overflow: hidden;
z-index: 1;
}
#btnplay {
position: absolute;
top: 520px;
left: 100px;
width:150px;
filter: hue-rotate(220deg) drop-shadow(0 0 2px transparent);
cursor: pointer;
transition: filter .35s ease-in;
z-index: 1;
animation: rotating 5s infinite linear var(--state);
}
#btnplay:hover {
filter: hue-rotate(0) drop-shadow(0 0 30px white);
}
#vid {
position: absolute;
top: -60px;
width: 1422px;
height: 860px;
object-fit: cover;
filter: opacity(.98);
}
@keyframes rotating {
to { transform: rotate(1turn); }
}
#tit {
position: absolute;
left: -50px;
top: 630px;
background-image:url('https://xlaj.cn/assets/file/zp/20240102011216.gif'); background-size:cover;
width:650px; height:200px; font: bold 2.0em serif;
text-align:center; line-height:200px; color:transparent;
-webkit-background-clip:text;
border:0px #eddfdc solid; z-index: 10;
}
</style>
<div id="papa">
<video id="vid" src="https://link.hhtjim.com/163/14711426.mp4" loop muted></video>
<audio id="aud" src="http://music.163.com/song/media/outer/url?id=2144694164.mp3" autoplay loop></audio>
<div id="tit">后视镜*罗言</div>
<img id="btnplay" src="https://pic.imgdb.cn/item/659e2a2e871b83018a56f948.png" alt="" title="播放/暂停" />
</div>
<script>
(function() {
let mState = () => {
aud.paused ?
(papa.style.setProperty('--state','paused'), vid.pause()) :
(papa.style.setProperty('--state','running'), vid.play());
};
aud.addEventListener('playing', mState, false);
aud.addEventListener('pause', mState, false);
btnplay.onclick = () => aud.paused ? aud.play() : aud.pause();
})();
</script> 虽然听不懂在唱什么,但还是支持一下楼主 河东阳景 发表于 2014-9-18 09:27
虽然听不懂在唱什么,但还是支持一下楼主
后面几首能听懂 欣赏平凡老师的美帖 问好 我这里链接不上 是我电脑问题吗 江淮大地 发表于 2014-9-19 07:33
欣赏平凡老师的美帖
老师不敢当,问好大地友友 一抹海蓝 发表于 2014-9-19 09:21
我这里链接不上
换个浏览器吧 现在好了,估计被屏蔽了{:soso_e120:}
页:
[1]