mirror of
https://github.com/Techtonic-Fault/homepage.git
synced 2026-01-23 05:26:30 +00:00
Initial commit
This commit is contained in:
21
components/hero-section.module.css
Normal file
21
components/hero-section.module.css
Normal file
@@ -0,0 +1,21 @@
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.gradient {
|
||||
--size: 750px;
|
||||
--speed: 50s;
|
||||
--easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);
|
||||
|
||||
width: var(--size);
|
||||
height: var(--size);
|
||||
filter: blur(calc(var(--size) / 5));
|
||||
background-image: linear-gradient(90deg, var(--tw-gradient-stops));
|
||||
animation: rotate var(--speed) var(--easing) alternate infinite;
|
||||
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
|
||||
}
|
||||
Reference in New Issue
Block a user