Skip to content

Commit c8e3418

Browse files
authored
Update README.md
1 parent cabf700 commit c8e3418

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
<div align="center">
22
<img src="https://github.com/Cloud-OG/Cloud-OG/blob/main/Miku.gif?raw=true" width="26%" align="right" />
33
<img src="https://readme-typing-svg.demolab.com?font=Inconsolata&weight=500&size=50&duration=4000&pause=300&color=00FFFF&center=true&vCenter=true&multiline=true&repeat=false&random=false&width=1300&height=140&lines=Ciallo (∠·ω )⌒★;I'm+Cloud%2C+a+game+designer%E2%9C%A9" width="70%" />
4+
<details>
5+
<summary>点击展开渐变颜色文本</summary>
6+
<html>
7+
<body style="display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #000; font-family: Inconsolata, monospace; font-size: 50px;">
8+
<div class="color-text" id="text">Ciallo (∠·ω )⌒★;I'm Cloud, a game designer </div>
9+
<style>
10+
.color-text {
11+
font-weight: 500;
12+
}
13+
</style>
14+
<script>
15+
const textElement = document.getElementById('text');
16+
let colorIndex = 0;
17+
const colors = ['#FF00FF', '#00FFFF', '#FF0000', '#FFFF00', '#00FF00'];
18+
19+
function changeColor() {
20+
textElement.style.color = colors[colorIndex];
21+
colorIndex = (colorIndex + 1) % colors.length;
22+
}
23+
24+
setInterval(changeColor, 1000); // 每秒更换一次颜色
25+
</script>
26+
</body>
27+
</html>
28+
</details>
429
<br><br>
530
<pre>
631
💻 C/C++ • C# • Unity • AIGC • Graphic Design

0 commit comments

Comments
 (0)