fix: remove SVG animation (#2468)
This commit is contained in:
parent
b48ab95d8e
commit
831a9adc20
1 changed files with 1 additions and 35 deletions
|
@ -2,22 +2,12 @@
|
|||
<style>
|
||||
.bg {
|
||||
transform-origin: center center;
|
||||
animation: loop 15s ease-in-out infinite;
|
||||
}
|
||||
.bg:nth-child(1) {
|
||||
animation-name: loop-1;
|
||||
}
|
||||
.bg:nth-child(2) {
|
||||
animation-name: loop-2;
|
||||
}
|
||||
.bg:nth-child(3) {
|
||||
animation-name: loop-3;
|
||||
}
|
||||
#banner {
|
||||
animation: marquee 30s linear infinite;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.bg, #banner {
|
||||
#banner {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
}
|
||||
|
@ -29,30 +19,6 @@
|
|||
transform: translateX(-130px);
|
||||
}
|
||||
}
|
||||
@keyframes loop-1 {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
75% {
|
||||
transform: scale(2);
|
||||
}
|
||||
}
|
||||
@keyframes loop-2 {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
25% {
|
||||
transform: scale(0.5);
|
||||
}
|
||||
}
|
||||
@keyframes loop-3 {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(2.5);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<path fill="#F1BCBE" d="M0 0h1012v506H0z"/>
|
||||
|
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 26 KiB |
Loading…
Reference in a new issue