snowflake rewrite
This commit is contained in:
parent
39c53b1bd1
commit
b2b7360a65
11 changed files with 428 additions and 361 deletions
12
src/css/app.css
Normal file
12
src/css/app.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
@font-face {
|
||||
font-family: "sf-pro";
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
src: url(/src/fonts/SF-Pro.woff2) format("woff2");
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes snowfall {
|
||||
0% {
|
||||
transform: translateY(-10vh);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(130vh);
|
||||
}
|
||||
}
|
||||
.snowflake {
|
||||
background: white;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
top: -5vh;
|
||||
animation: snowfall infinite;
|
||||
opacity: 0.1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue