yellow歌词

这首歌曲是由英国摇滚乐队Coldplay演唱的Yellow,歌词中充满了浪漫的情感。歌词提到为某人写歌并将其命名为黄色,表达了对某人的深情及对美好事物的向往。
yellow
coldplay

Look at the stars; look how they shine for you
And everything you do
Yeah, they were all yellow
I came along; I wrote a song for you
And all the things you do
And it was called yellow
So then I took my turn
Oh what a thing to have done
And it was all yellow
Your skin, oh yeah your skin and bones
Turn into something beautiful
D'you know?
You know I love you so
You know I love you so
I swam across; I jumped across for you
Oh what a thing to do
'Cos you were all yellow
I drew a line; I drew a line for you
Oh what a thing to do
And it was all yellow
And your skin, oh yeah your skin and bones
Turn into something beautiful
D'you know?
For you I bleed myself dry
It's true
Look how they shine for you
Look how they shine for you
Look how they shine for?
Look how they shine for you
Look how they shine for you
Look how they shine
Look at the starsLook how they shine for you
And all the things that you do 
以下是一个简单的歌词滚动 HTML 代码示例: ```html <!DOCTYPE html> <html> <head> <title>歌词滚动</title> <style> body { background-color: black; color: white; font-family: Arial, sans-serif; font-size: 24px; text-align: center; } #lyrics { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; overflow: hidden; } </style> </head> <body> <div id="lyrics"> <!-- 歌词内容 --> 你的眼神,像星空一样深邃 我想靠近,却又害怕被拒绝 ... </div> <script> var lyricsDiv = document.getElementById("lyrics"); var lyricsText = lyricsDiv.textContent; lyricsDiv.textContent = ""; // 将歌词内容以空格分隔为数组 var lyricsArray = lyricsText.split(" "); // 将歌词数组中的每个单词包装在 span 标签中 for (var i = 0; i < lyricsArray.length; i++) { var span = document.createElement("span"); span.textContent = lyricsArray[i] + " "; lyricsDiv.appendChild(span); } // 开始滚动歌词 var spanIndex = 0; var intervalID = setInterval(function() { var spans = lyricsDiv.querySelectorAll("span"); spans[spanIndex].classList.add("active"); spanIndex++; if (spanIndex >= spans.length) { clearInterval(intervalID); } }, 1000); // 每秒滚动一个单词 </script> </body> </html> ``` 这个代码使用了 `position: absolute` 和 `transform: translate` 来把歌词居中显示,使用了 `white-space: nowrap` 和 `overflow: hidden` 来保证歌词不换行并且超出部分被隐藏。JavaScript 部分把歌词内容分割成单词,并把每个单词包装在 `span` 标签中,然后使用 `setInterval` 定时器来逐个滚动这些单词。在 CSS 中,你可以使用 `.active` 类来显示当前正在滚动的单词,例如: ```css #lyrics span.active { color: yellow; } ```
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值