《爱死了昨天》 -- 阿熊 TO:大猫咪
<style>
.spiBox {
top:120px;left:-302px;
position: relative;
width: 1200px;
height: 675px;
background: #FFF url('https://pic.imgdb.cn/item/6267627e239250f7c55aecb1.jpg') no-repeat center/cover;
box-shadow: 4px 4px 5px #888;
border-radius:12px;
}
.ball { /* 球体 */
left:200px;top: 180px; width: 60px; height: 60px;
background: Blue linear-gradient(135deg,rgba(65,105,225,.85),rgba(100,149,237,.95));
position: absolute; border-radius: 50%;
filter: drop-shadow(2px 2px 6px rgba(0,0,0,.7));
transform: skew(2deg); cursor: pointer;
}
.ball::before { content: ''; position: absolute; } /* 伪元素:修饰 */
.ball::before { /* 伪元素一:高亮 */
left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%;
background: radial-gradient(circle at 35% 40%,rgba(255,255,255,.75),rgba(0,0,0,.15));
}
.ball div { /* 子元素共2个:动画 */
position: absolute; border: 8px solid rgba(0,0,0,.45); border-radius: 50%;
border-color: #4682B4 #6495ED #4682B4 #6495ED;opacity: .55;
}
.ball div:nth-child(1) { left: -8px; top: -8px; right: -8px; bottom: -8px; animation: rot 4s linear infinite;}
.ball div:nth-child(2) { left: -16px; top: -16px; right: -16px; bottom: -16px;animation: rot 12s linear infinite; }
@keyframes rot { to { transform: rotate(1turn); } } /* 动画 转圈 */
.spiBox img {
position: absolute;
width: 139px;
height: 108px;
top: 40%;
right: 0px;
animation: walk 42s linear infinite;
}
@keyframes walk {
0% { transform: rotate(0deg); right: 300px;top:330px; }
10% { transform: rotate(0deg); right: 470px;top:310px; }
20% { transform: rotate(0deg); right: 640px;top:290px; }
30% { transform: rotate(0deg); right: 810px;top:290px; }
40% { transform: rotate(0deg); right: 980px;top:310px; }
50%{ transform: rotateY(180deg); right: 1000px;top:330px; }
60%{ transform: rotateY(180deg); right: 830px;top:350px; }
70%{ transform: rotateY(180deg); right: 660px;top:370px; }
80%{ transform: rotateY(180deg); right: 490px;top:370px; }
90%{ transform: rotateY(180deg); right: 320px;top:350px; }
100%{ transform: rotateY(360deg); right: 300px;top:330px; }
}
.xiewen {/* 斜纹文本 */
position: absolute;left:280px;top: -10px;
width: 660px;
height: 200px;
line-height: 200px;
font-family: '微软雅黑', '宋体';
font-size: 4.2rem;
font-weight: 900;
text-align: center;
background: darkgreen linear-gradient(45deg, transparent 45%, #eee 45%, #ccc 55%, transparent 0);
background-size: 4px 4px;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 2px #111;
animation: wenzi 4s linear infinite alternate;
}
@keyframes wenzi { 0%{opacity: 0.8;} 100% { opacity: 0.3; } }
/* 文字走马灯 */
.txtFly {
position: absolute;
--w: 300px;
width: var(--w);
left: 450px;
top: 566px;
overflow: hidden;
}
.txtFly div {
word-break: keep-all;
white-space: nowrap;
font: normal 22px /24px '楷体','微软雅黑';
color:#ccff99; text-shadow: 0 0 2px #ff66ff;
animation: fly 32s linearinfinite;
}
/* 走马灯动画 */
@keyframes fly {
from { transform: translateX(100%); }
to { transform: translateX(calc(-400% - var(--w))); }
}
</style>
<div class="spiBox">
<img src="https://pic.imgdb.cn/item/6247dcc127f86abb2a49e093.gif" alt="" />
<div class="ball">
<div></div>
<div></div>
</div>
<div class="xiewen">爱死了昨天</div>
<div class="txtFly" >
<div>爱死了昨天--阿熊 是我爱死了昨天
誓言割碎你的脸
一切都回不到那些从前
美好的画面
是我爱死了昨天
看你虚伪的表演
才知道我离你有多远
才知道我离你有多远
。。。。。。</div>
</div></div><br><br><br><br><br><br><br><br><br><br><br><br>
<script>
let flag = true;
let ball = document.querySelector(".ball");
let au = document.createElement("audio");
au.src = "https://www.joy127.com/url/90060.mp3";
au.autoplay = flag;
au.loop= true;
au.style.display = "none"
ball.appendChild(au);
ball.onclick = function(){
if(flag) {
Array.from(this.children).forEach(function(item){item.style.animationPlayState = "paused"; });
au.pause();
flag = false;
} else {
Array.from(this.children).forEach(function(item){item.style.animationPlayState = "running"; });
au.play();
flag = true;
}
}
</script>
歌手:阿熊
专辑:
歌词:
是我爱死了昨天
誓言割碎你的脸
一切都回不到那些从前
美好的画面
是我爱死了昨天
看你虚伪的表演
才知道我离你有多远
才知道我离你有多远
睁开眼却看不见
谁在我身边
撕开痛苦慢慢发现
你已经走远
哭和笑都有极限
没了更危险
泪尝多了反而很甜
死心比欺骗更简练
是我爱死了昨天
誓言割碎你的脸
一切都回不到那些从前
美好的画面
是我爱死了昨天
@大猫咪 大猫咪收礼开森 马黑黑 发表于 2022-4-26 12:18
大猫咪收礼开森
谢谢老黑!{:4_190:} 漂亮的制作,大猫咪收礼开心{:4_187:} 貌似有点伤感的歌儿,不过好听。大猫咪这两天点备战考试呢。 红影 发表于 2022-4-26 12:41
漂亮的制作,大猫咪收礼开心
谢谢红影支持!{:4_204:} 樵歌 发表于 2022-4-26 17:13
貌似有点伤感的歌儿,不过好听。大猫咪这两天点备战考试呢。
樵歌下午好。知道猫猫要考试的,先送个礼物给他的。 好听,队长制作漂亮的,猫还没考完了 绿叶清舟 发表于 2022-4-26 20:50
好听,队长制作漂亮的,猫还没考完了
嗯嗯,知道猫猫在考试,先预祝他的。 加林森 发表于 2022-4-26 21:02
嗯嗯,知道猫猫在考试,先预祝他的。
队长的心意真好{:4_204:} 红影 发表于 2022-4-26 23:21
队长的心意真好
应该的啊。新朋友老朋友都是朋友,我们都应该这样的! 加林森 发表于 2022-4-26 23:24
应该的啊。新朋友老朋友都是朋友,我们都应该这样的!
朋友相互送礼正常,队长还记挂着猫猫的考试,这点很不容易。 红影 发表于 2022-4-27 12:29
朋友相互送礼正常,队长还记挂着猫猫的考试,这点很不容易。
应该的应该的。 加林森 发表于 2022-4-27 13:30
应该的应该的。
队长有心了{:4_204:} 红影 发表于 2022-4-27 21:31
队长有心了
嗯嗯,应该这样才行。 加林森 发表于 2022-4-27 21:37
嗯嗯,应该这样才行。
是的,坛友之间相互关爱,也是一份别样的暖。 红影 发表于 2022-4-27 22:29
是的,坛友之间相互关爱,也是一份别样的暖。
是的是的,我喜欢朋友! 加林森 发表于 2022-4-27 23:37
是的是的,我喜欢朋友!
朋友多了多条路。