Skip to content

Commit 5b0406f

Browse files
authored
Update README.md
1 parent bf8e19c commit 5b0406f

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
<div align="center">
22
<img src="https://github.com/Cloud-OG/Cloud-OG/blob/main/Miku.gif?raw=true" width="26%" align="right" />
3-
<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%" />
3+
<!DOCTYPE html>
4+
<html lang="zh-CN">
5+
<head>
6+
<meta charset="UTF-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>我的 GitHub Profile</title>
9+
<style>
10+
body {
11+
display: flex;
12+
justify-content: center;
13+
align-items: center;
14+
height: 100vh;
15+
margin: 0;
16+
background-color: #000;
17+
font-family: Inconsolata, monospace;
18+
font-size: 50px;
19+
}
20+
.color-text {
21+
font-weight: 500;
22+
}
23+
</style>
24+
</head>
25+
<body>
26+
<div class="color-text" id="text">Ciallo (∠·ω )⌒★;I'm Cloud, a game designer </div>
27+
<script>
28+
const textElement = document.getElementById('text');
29+
let colorIndex = 0;
30+
const colors = ['#FF00FF', '#00FFFF', '#FF0000', '#FFFF00', '#00FF00'];
31+
32+
function changeColor() {
33+
textElement.style.color = colors[colorIndex];
34+
colorIndex = (colorIndex + 1) % colors.length;
35+
}
36+
37+
setInterval(changeColor, 1000); // 每秒更换一次颜色
38+
</script>
39+
</body>
40+
</html>
441
<br><br>
542
<pre>
643
💻 C/C++ • C# • Unity • AIGC • Graphic Design

0 commit comments

Comments
 (0)