又是一年毕业季,希望努力的师弟们都能找到合心的工作

方圆工作室 2024-03-19 15:53:01

![file](https://img-mid.csdnimg.cn/release/static/image/mid/comment/ccloud/1710834707681/o.html 'o.html 1152')

<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #000000;
}
.snowflake {
position: absolute;
font-size: 20px;
color: #FF0000;
text-shadow: 1px 1px 1px #FFFF77;
user-select: none;
}
</style>
</head>
<body>
<script>
function random(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function Snowflake() {
this.characters = "钱";
this.x = random(0, window.innerWidth);
this.y = random(-200, -100);
this.speed = random(1, 5);
this.element = document.createElement("span");
this.element.classList.add("snowflake");
this.element.innerHTML = this.characters;
document.body.appendChild(this.element);
}
Snowflake.prototype.update = function() {
this.y += this.speed;
this.element.style.top = this.y + "px";
this.element.style.left = this.x + "px";
if (this.y > window.innerHeight) {
this.y = random(-200, -100);
this.x = random(0, window.innerWidth);
}
};
var snowflakes = [];
for (var i = 0; i < 100; i++) {
snowflakes.push(new Snowflake());
}
setInterval(function() {
snowflakes.forEach(function(snowflake) {
snowflake.update();
});
}, 50);
</script>
</body>
</html>

...全文
祝吉林化工学院毕业生寻找到自己喜欢的工作
拼手气红包 10.00元
10353 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

220

社区成员

发帖
与我相关
我的任务
社区描述
共同打造干净的吉林化工学院科技社区
单片机 高校 吉林省·吉林市
社区管理员
  • 方圆工作室
  • ID_Shift
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

公平、公正、公开

试试用AI创作助手写篇文章吧