So this is what I came up with… but its still massive…
<svg width="6" height="6" viewBox="0 0 12 12" xmlns="https://www.w3.org/2000/svg">
<style>
.spinner_ajPY {
transform-origin: center;
animation: spinner_AtaB 0.75s infinite linear;
}
@keyframes spinner_AtaB {
100% {
transform: rotate(360deg);
}
}
</style>
<path d="M6 0.5a5.5 5.5 0 1 0 5.5 5.5A5.5 5.5 0 0 0 6 0.5m0 9.5a4 4 0 1 1 4 -4 4 4 0 0 1 -4 4" opacity=".25"/>
<path d="M5.07 0.58a5.5 5.5 0 0 0 -4.5 4.46A0.795 0.795 0 0 0 1.23 6a0.76 0.76 0 0 0 0.825 -0.65 4 4 0 0 1 3.33 -3.305A0.71 0.71 0 0 0 6 1.345a0.785 0.785 0 0 0 -0.93 -0.765" class="spinner_ajPY"/>
</svg>
I tried viewing here: https://www.svgviewer.dev/
Looks like it does get smaller on the svgviewer website but still… on the website its still just as large. I tried matching the viewBox with the width and height but it only messes things up. I think its because circles position itself from the middle of itself when projecting onto the viewBox meanwhile rectangles/squares position from the top left of itself.
-
This reply was modified 1 month, 3 weeks ago by
gerwyn32.