May It Be TO--美人鱼
本帖最后由 大猫咪 于 2022-3-16 22:01 编辑 <br /><br /><style type="text/css">/* 外框盒子 */
#xq { position: relative; left:-204px; top:120px; width: 1000px; height: 700px; background:#333 url('https://s3.bmp.ovh/imgs/2022/03/9d3d949b83fe7a24.png') no-repeat center/cover; box-shadow: 4px 4px 5px #888;border-radius:12px;}
body { overflow-x: hidden; } /*禁用横向滚动条 */
#baiBox {
margin: auto;
width: 360px;
text-align: center;
font-size: 2rem;
font-weight: bold;
color: #EEEE00;
transform-origin: top;
animation: yao 0.8s linear infinite alternate;
}
/* 动画 */
@keyframes yao {
from{transform: perspective(800px) rotatex(30deg); }
to { transform: perspective(800px) rotatex(-30deg); }
}
/* 播放按钮 */
.picBtn {
width: 80px;
height: 120px;
border: none;
outline: none;
border-radius: 8px;
background: transparent url('https://www.huachaowang.com/data/attachment/forum/202203/15/201924gajgggtt8sznc2u5.gif') no-repeat;
cursor: pointer;
}
</style>
<div id="xq" >
<div id="baiBox" style="position: absolute; left:120px; top: 40px; ">May It Be - Enya</div>
<div style="position: absolute; left:120px; top: 150px; width:400px;text-align:center;">
<img alt="" src="https://pic.imgdb.cn/item/622b46ee5baa1a80ab0a99ba.gif"/>
<div style="position:absolute; width:260px; left:560px; top: 10px; text-align:center;padding:10px;font-size:1em;font-family:'微软雅黑';text-shadow:1px 1px 2px #000;">
<marqueescrollamount="5" direction="left" > </marquee>
</div>
</div>
<!-- 控制按钮应是父盒子的第一代子元素 -->
<div style="position:absolute; width:120px; left: 10px; top:calc(100% - 140px); text-align:center;">
<button id="picBtn" class="picBtn"></button>
</div>
</div>
<!-- 播放器不要界面,无需放在帖子父盒子内 -->
<audio id="music" autoplay="autoplay" loop="loop" src="http://music.163.com/song/media/outer/url?id=2530077.mp3" ></audio>
<script language="javascript">
var mu = document.getElementById('music');
var btn = document.getElementById('picBtn');
btn.onclick = function(){
mu.paused ? (mu.play(), btn.style.background="url('https://www.huachaowang.com/data/attachment/forum/202203/15/201924gajgggtt8sznc2u5.gif')") : (mu.pause(), btn.style.background="url('https://pic.imgdb.cn/item/622db73d5baa1a80ab3e783b.gif')");
}
mu.addEventListener("ended", function(){
btn.style.background="url('https://www.huachaowang.com/data/attachment/forum/202203/15/201924gajgggtt8sznc2u5.gif')";
});
</script><br><br><br><br><br><br><br> @美人鱼 好久不见小美人鱼,游那去了{:4_187:}想念 {:4_190:}祝一切安好! 猫高产啊,漂亮怎么不能评分了啊 鱼是不是被猫吃了啊{:4_189:} font-size: 5rem;猫这人数字改个试试 绿叶清舟 发表于 2022-3-16 20:59
猫高产啊,漂亮怎么不能评分了啊
奇怪哈清舟,那字可以变小不{:4_170:} 绿叶清舟 发表于 2022-3-16 21:01
font-size: 5rem;猫这人数字改个试试
哈哈可以了,谢谢清舟 {:4_179:} 大猫咪 发表于 2022-3-16 21:04
哈哈可以了,谢谢清舟
不客气啊这张海景真漂亮的 绿叶清舟 发表于 2022-3-16 21:08
不客气啊这张海景真漂亮的
会动那个图不知道有没有别的可以改{:4_170:} 大猫咪 发表于 2022-3-16 21:09
会动那个图不知道有没有别的可以改
有啊https://pic.imgdb.cn/item/622b46ee5baa1a80ab0a99ba.gif 本帖最后由 大猫咪 于 2022-3-16 21:20 编辑
绿叶清舟 发表于 2022-3-16 21:13
有啊
{:4_204:} 大猫咪 发表于 2022-3-16 21:15
}
/* 动画 */
@keyframes yao {
http://image.hnol.net/c/2021-01/10/10/202101101019478794-5088534.gif
改这个地址 绿叶清舟 发表于 2022-3-16 21:17
http://image.hnol.net/c/2021-01/10/10/202101101019478794-5088534.gif
改这个地址
哈哈 成功了 谢谢清舟{:4_179:} 大猫咪 发表于 2022-3-16 21:20
哈哈 成功了 谢谢清舟
{:4_204:}越来越厉害了,奖励一个小红花 绿叶清舟 发表于 2022-3-16 21:22
越来越厉害了,奖励一个小红花
这些动图去那找啊清舟 大猫咪 发表于 2022-3-16 21:23
这些动图去那找啊清舟
百度搜时,点一下动图,有些背景得自己去了 绿叶清舟 发表于 2022-3-16 21:28
百度搜时,点一下动图,有些背景得自己去了
嗯嗯 知道了{:4_187:} 这个好棒的,特别喜欢恩雅的歌,配着这个背景听起来特别有感觉,猫猫太棒了{:4_199:} 小美人鱼收礼开心{:4_187:}