100-project-100-days-website/100_projects/86-white-snow-rain/style.css
2023-05-18 17:29:11 +03:00
Ask

23 lines
388 B
CSS

{d065442ebb740e95858ce8b8492a9bffa3ff5c8e true 388 style.css 0xc002bd63f0}

* {
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
margin: 0;
min-height: 100vh;
background: #ADD8E6;
}
.snow {
position: fixed;
top: -1vh;
font-size: 2rem;
transform: translateY(0);
animation: fall 3s linear forwards;
}
@keyframes fall {
to {
transform: translateY(105vh);
}
}