Remove SVG animation on GitHub/NPM (#2512)
* perf: remove SVG animation
* update readme
* Revert "update readme"
This reverts commit 71abb6629d
.
This commit is contained in:
parent
f3b35023fd
commit
7af5abb55c
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…
Reference in a new issue