加林森 发表于 2021-9-26 12:05

本帖最后由 加林森 于 2021-11-13 18:01 编辑

子梦 发表于 2021-9-26 09:54
孟晚舟,国人的骄傲。伟大的中国,再一次向世界证明了威严不可犯。
谢谢子梦支持!{:4_171:}

加林森 发表于 2021-9-26 12:06

本帖最后由 加林森 于 2022-5-8 16:21 编辑 <br /><br />红影 发表于 2021-9-26 10:46
感受到了祖国的强大
是啊,这种感觉就是真正的大国的体现。

<style>
        .bgBox { left: -242px; width: 1080px; height: 606px; background: rgba(0,0,0,.15) url('https://pic.imgdb.cn/item/62777a7e094754312913860a.jpg') no-repeat center/cover; overflow: hidden; position: relative; }
        .b-img { position: absolute; width: 350px; bottom: 0; mix-blend-mode: multiply; }
        .s-img { position: absolute; width: 200px; left: calc(100% - 210px); top:5px; border-radius: 50%; opacity: .4; }
        .s-bg { position: absolute; width: 80px; height: 80px; border-radius: 50%; left: 10px; top: calc(100% - 90px); filter: drop-shadow(0 0 50px rgba(0,0,0,.9)); cursor: pointer; animation: rot 4s linear infinite; }
        @keyframes rot { to { transform: rotate(1turn); } }
</style>

<div class="bgBox">
        <img class="b-img" src="https://pic.imgdb.cn/item/62777a7e094754312913860a.jpg" alt="" />
        <img class="s-img" src="https://pic.imgdb.cn/item/62777d5f09475431291ced98.jpg" alt="" />
        <div class="bgBox s-bg"></div>
</div>

<script>
let flag = true;
let sbg = document.querySelector('.s-bg');
let au = document.createElement('audio');
//Venice Beach
au.src = 'http://www.kumeiwp.com/sub/filestores/2022/05/06/2ad14b06aa3094c2f5cd9ca52813ab2a.mp3';
au.autoplay = flag;
au.loop = true;
au.style.display = 'none';
sbg.appendChild(au);
if(!flag) sbg.style.animationPlayState = 'paused';
sbg.onclick = function(){
        flag ? (au.pause(),this.style.animationPlayState='paused',flag=false) : (au.play(),this.style.animationPlayState='running',flag=true);
}
</script>

红影 发表于 2021-9-26 13:39

加林森 发表于 2021-9-26 12:06
是啊,这种感觉就是真正的大国的体现。

有强大的祖国后盾,我们做子民在世界才更有地位。

加林森 发表于 2021-9-26 13:45

本帖最后由 加林森 于 2022-3-28 22:03 编辑 <br /><br />红影 发表于 2021-9-26 13:39
有强大的祖国后盾,我们做子民在世界才更有地位。
对头{:4_199:}

<style type="text/css">
/* 帖子容器 */
#tzDiv {
      position: relative;
      left: -50px;
      width: 800px;
      height: 1200px;
      top: 80px;
      background: #eee url('https://pic.imgdb.cn/item/62419eda27f86abb2aa899e0.jpg') no-repeat center/cover;
      opacity: 0.8;
}

/* 音乐控制按钮 */
.picBtn {
      position: absolute;
       width: 100px;
       height: 100px;
       left: 180px;
       bottom: 60px;
       border: none;
       outline: none;
       border-radius: 8px;
       background: transparent url('https://pic.imgdb.cn/item/622a00ea5baa1a80ab412ada.gif') no-repeat;
       cursor: pointer;
}
/* 文本时钟 */
#textClock {
      position: absolute;
      top: 180px;
      right: 200px;
      width: 300px;
      height: 30px;
      font: 20px / 30px Sans-Serif;
      text-align: center;
}
/* 走马灯父框 */
.txtFly {
      position: absolute;
      width: 260px;
      height: 30px;
      right: 100px;
      bottom: 100px;
      overflow: hidden;
}
/* 走马灯文本 */
.txtFly div {
      position: absolute;
      left: 260px;
      font: normal 18px /20px Sans-Serif;
      word-break: keep-all;
      white-space:nowrap;
}

<div class="leaf"></div>
<div class="leaf leaf1"></div>
/* 变色文本 */
.txtBg {
      position: absolute;
      top: 100px;
      right: 100px;
      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 id="tzDiv">
      <div class="txtBg">思归</div>
      <div id="textClock"></div>
      <div class="txtFly">
                <div id="ziFly">思归 - 小新 纯音乐,请欣赏 </div>
      </div>
      <button id="picBtn" class="picBtn"></button>
      <audio id="music" src="http://music.163.com/song/media/outer/url?id=1914211561.mp3"&auto=1&height=32"><br><br><br>loop="loop" autoplay="autoplay" ></audio>
</div>

<script language="javascript">

fly(); //运行走马灯
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)); }
//音乐控制代码
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/622a00ea5baa1a80ab412ada.gif')") : (mu.pause(), btn.style.background="url('https://pic.imgdb.cn/item/622a01115baa1a80ab414665.png')");
}

mu.addEventListener("ended", function(){
      btn.style.background="url('https://pic.imgdb.cn/item/622a01115baa1a80ab414665.png')";
});
//创建走马灯
function fly() {
      var ziFly = document.getElementById('ziFly');
      var width = ziFly.clientWidth;
      var style = document.createElement('style');
      style.type = 'text/css';
      var flyStr = '@keyframes fly {to { left: -' + width + 'px; } }';
      style.innerHTML = flyStr;
      ziFly.appendChild(style);
      ziFly.style.animation = 'fly 40s linear infinite';
}
</script>

马黑黑 发表于 2021-9-26 14:26

加林森 发表于 2021-9-25 18:18
是啊,挺厉害的老头。

对,你也学学

马黑黑 发表于 2021-9-26 14:26

加林森 发表于 2021-9-25 18:17
晚上到

那就好

红影 发表于 2021-9-26 16:55

加林森 发表于 2021-9-26 13:45
对头

共同迎接孟女士归来{:4_204:}

加林森 发表于 2021-9-26 17:47

好的好的

加林森 发表于 2021-9-26 17:47

马黑黑 发表于 2021-9-26 14:26
那就好

现在已经安全了,真好!

马黑黑 发表于 2021-9-26 17:57

加林森 发表于 2021-9-26 17:47
现在已经安全了,真好!

这个自然

加林森 发表于 2021-9-26 20:06

马黑黑 发表于 2021-9-26 17:57
这个自然

是啊

马黑黑 发表于 2021-9-26 20:06

嗯嗯

加林森 发表于 2021-9-26 20:14

马黑黑 发表于 2021-9-26 14:26
对,你也学学

我可没有这个本事。

马黑黑 发表于 2021-9-26 20:33

加林森 发表于 2021-9-26 20:14
我可没有这个本事。

学学就有

加林森 发表于 2021-9-26 20:40

马黑黑 发表于 2021-9-26 20:33
学学就有

老了,没有时间玩这些了啊。

马黑黑 发表于 2021-9-26 22:10

加林森 发表于 2021-9-26 20:40
老了,没有时间玩这些了啊。

玩都不会你还会什么
页: 1 [2]
查看完整版本: 孟晚舟即将回到祖国!