We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Happy New Year</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Codystar&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
font-family: 'Codystar', cursive;
}
body {
background-color: #292929;
}
section {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-size: 65px;
color: #fff;
text-shadow: 0 3px 20px red,
0 0 20px red,
0 0 10px orange,
4px -5px 6px yellow,
-4px -10px 10px yellow,
0 -10px 30px yellow;
animation: fire 2s infinite alternate linear;
}
@keyframes fire {
0% {
text-shadow: 0 3px 20px red,
0 0 20px red,
0 0 10px orange,
4px -5px 6px yellow,
-4px -10px 10px yellow,
0 -10px 30px yellow;
}
25% {
text-shadow: 0 3px 20px red,
0 0 20px red,
0 0 10px orange,
-2px -5px 5px yellow,
3px -10px 10px yellow,
-4 -15px 20px yellow;
}
50% {
text-shadow: 0 3px 20px red,
0 0 20px red,
0 -5px 10px orange,
3px -10px 10px yellow,
-4px -15px 20px yellow,
2px -20px 30px yellow;
}
75% {
text-shadow: 0 3px 20px red,
0 0 20px red,
0 -5px 10px orange,
3px -10px 5px yellow,
2px -20px 30px yellow,
0 -25px 40px yellow;
}
100% {
text-shadow: 0 3px 20px red,
0 0 10px red,
0 0 0 orange,
0 0 5px yellow,
-2px -5px 5px yellow,
4px -10px 10px yellow;
}
}
</style>
</head>
<body>
<section>
<h1>Happy New Year</h1>
</section>
</body>
</html>