python
print("高考加油!")
print("所有的努力都会开花结果!")
print("2025年6月,愿你金榜题名!🎉")
# 再加点小动画感(终端版)
import time
for i in range(1, 11):
print(f"距离梦想还有 {10-i}0%... 冲!!!{'🚀' * i}")
time.sleep(0.4)
print("\n你已经是最棒的了!GO GO GO!")
2. HTML + CSS 加油页面(保存为 .html 文件,双击打开)
html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>高考加油!冲鸭!</title>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #667eea, #764ba2);
font-family: "Microsoft YaHei", sans-serif;
color: white;
overflow: hidden;
}
h1 {
font-size: 5rem;
margin: 0;
text-shadow: 0 0 20px rgba(255,255,255,0.9);
animation: pulse 2s infinite;
}
.subtitle {
font-size: 2.2rem;
margin: 20px 0;
opacity: 0.95;
}
.progress {
width: 70%;
max-width: 600px;
height: 35px;
background: rgba(255,255,255,0.25);
border-radius: 20px;
overflow: hidden;
margin: 40px 0;
}
.bar {
width: 0;
height: 100%;
background: linear-gradient(to right, #ff6b6b, #ff8e53);
border-radius: 20px;
animation: fill 5s ease-in-out forwards;
}
.motivation {
font-size: 1.8rem;
text-align: center;
max-width: 800px;
line-height: 1.7;
margin-top: 30px;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.08); }
}
@keyframes fill {
to { width: 100%; }
}
</style>
</head>
<body>
<h1>高考加油!</h1>
<p class="subtitle">2025届考生,冲鸭!!!</p>
<div class="progress">
<div class="bar"></div>
</div>
<p class="motivation">
所有的汗水和熬夜,都会在六月变成最闪亮的勋章!<br>
你已经走了那么远,剩下的路,勇敢地迈过去吧!<br>
无论结果如何,你都值得被骄傲!
</p>
</body>
</html>
复制上面代码保存为 gaokao_jiayou.html,然后用浏览器打开,就能看到带进度条的加油页面啦~最后送上几张视觉祝福,给你加满能量!https://artifacts.grokusercontent.com/third-party-image
发表回复