这里是一个简单的新年动画代码供参考:
<html>
<head>
<style>
/* 设置背景色 */
body {
background-color: black;
}
/* 设置文字样式 */
h1 {
color: white;
font-family: 'Arial';
font-size: 48px;
text-align: center;
margin: 50px;
}
/* 设置动画样式 */
@keyframes a