加林森 发表于 2021-10-6 11:44
要不你试一试?
队长大人先试一下
本帖最后由 加林森 于 2022-3-20 11:22 编辑 <br /><br />马黑黑 发表于 2021-10-6 12:03
队长大人先试一下
你先试一试
<style type="text/css">
.picBtn {
width: 40px;
height: 35px;
border: none;
outline: none;
border-radius: 8px;
background: transparent url('https://pic.imgdb.cn/item/623404e65baa1a80abe4e2fb.gif') no-repeat;
cursor: pointer;
</style>
<div style="position: relative; left:-120px; width:1008px;top: 150px; text-align:center;">
<img alt="" src="https://pic.imgdb.cn/item/6236914f5baa1a80ab9d7fe4.gif" style="box-shadow:1px 1px 2px #666; border:solid 1px #000;" />
<div style="position:absolute; width:250px; left:572px; top: 180px; text-align:center;">
<center >
<p ><font color="#F8F8FF" size="4" >
<marqueescrollamount="4" direction="left" >我要回来--吉克永都</marquee>
<div style="position:absolute; width:100px; left:-420px; top: -50px; text-align:center;">
<p><audio id="music" src="http://www.kumeiwp.com/sub/filestores/2022/03/19/24983e85f1aaf6c28f6c2d1804a278a1.mp3" loop="loop" autoplay="autoplay" ></audio><br> </p>
<button id="picBtn" class="picBtn"></button>
</div>
</div>
<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://pic.imgdb.cn/item/623404e65baa1a80abe4e2fb.gif')") : (mu.pause(), btn.style.background="url('https://pic.imgdb.cn/item/623405065baa1a80abe502bf.png')");
}
mu.addEventListener("ended", function(){
btn.style.background="url('https://pic.imgdb.cn/item/623405065baa1a80abe502bf.png')";
})
</script>
<div style="position:absolute; width:500px; left:420px; top: 40px; text-align:center;">
<style>
.txtBg {
font-size: 4rem;
color: transparent;
width: 500px;
height: 100px;
line-height: 100px;
text-align: center;
background-image: linear-gradient(90deg, green, olive, transparent, tomato, green);
background-size: 500px 100px;
background-position: 500px 0;
border: 1px solid;
background-clip: text;
-webkit-background-clip: text;
animation: chgc 2s linear infinite;
}
@keyframes chgc {
from { background-position: -500px 0; }
to { background-position: 0 0; }
}
</style>
<div class="txtBg">我要回来</div>
<div id="textClock"></div>
<script language="javascript">
showTime();
setInterval(showTime, 1000);
function showTime(){
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var date = now.getDate();
var day = now.getDay();
var hour = now.getHours();
if(hour < 10) hour = "0" + hour;
var minute = now.getMinutes();
if(minute < 10) minute = "0" + minute;
var second = now.getSeconds();
if(second < 10) second = "0" + second;
document.getElementById("textClock").innerHTML = year + "年" + month + "月" + date + "日 星期" + toHz(day) + "" + hour + ":" + minute + ":" + second;
}
function toHz(num) {
var hz = "日一二三四五六九";
return(hz.charAt(num));
}
</script> </div></div>
<br><br><br><br><br><br><br><br><br><br><br><br>
加林森 发表于 2021-10-6 12:42
你先试一试
不能抢队长大人的风头
马黑黑 发表于 2021-10-6 13:10
不能抢队长大人的风头
老黑你就不要再客气了嘛
加林森 发表于 2021-10-6 16:12
老黑你就不要再客气了嘛
必须客气
加林森 发表于 2021-10-5 21:14
就是就是,开心就好啊。
欢欢喜喜庆国庆{:4_187:}
红影 发表于 2021-10-6 16:31
欢欢喜喜庆国庆
乐乐呵呵过国庆{:4_204:}
马黑黑 发表于 2021-10-6 16:19
必须客气
不要这样好不好?
加林森 发表于 2021-10-6 16:49
不要这样好不好?
不好
马黑黑 发表于 2021-10-6 17:01
不好
必须好
加林森 发表于 2021-10-6 17:35
必须好
必须不好
马黑黑 发表于 2021-10-6 17:36
必须不好
你怎么老是反着来啊?
马黑黑 发表于 2021-10-4 07:17
半点可能是什么况
疑问50%可能哈~~{:5_117:}
杨柳青 发表于 2021-10-8 22:32
疑问50%可能哈~~
哦,这说法牛