mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
perf: remove SVG animation
This commit is contained in:
parent
f3b35023fd
commit
f5424d15b4
1 changed files with 0 additions and 21 deletions
|
@ -1,25 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 1012 506">
|
||||
<style>
|
||||
.bg {
|
||||
transform-origin: center center;
|
||||
}
|
||||
#banner {
|
||||
animation: marquee 30s linear infinite;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#banner {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
}
|
||||
@keyframes marquee {
|
||||
0% {
|
||||
transform: translateX(66px);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-130px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<path fill="#F1BCBE" d="M0 0h1012v506H0z"/>
|
||||
<g id="bgs" clip-path="url(#a)">
|
||||
|
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Loading…
Add table
Reference in a new issue