S
S
Sergey2020-11-13 12:10:07
HTML
Sergey, 2020-11-13 12:10:07

Why svg without gradient after export from Figma?

There is a preloader layout
5fae4b9364625340272375.png
Its code after export

<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="11.25" stroke="url(#paint0_angular)" stroke-width="1.5"/>
<defs>
<radialGradient id="paint0_angular" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12 12) rotate(90) scale(12)">
<stop stop-color="#08044C" stop-opacity="0"/>
<stop offset="1" stop-color="#08044C"/>
</radialGradient>
</defs>
</svg>

But in the end, on the page it looks like this. There is no gradient
5fae4bc8d89ee146049926.png

Is it possible to correct something in the svg code? Or, if there is a place where to get such a preloader, I will be grateful. I looked in different repositories of preloaders, but I did not find such a free one (

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RAX7, 2020-11-13
@DaveGarrow

V
Vladimir, 2020-11-13
@Casufi

There is a gradient, it's just some kind of curve
5fae5824c9309917171908.png
https://jsfiddle.net/0uf3sLy1/
You can try to make the desired gradient with your hands in a vector editor
Chet like https://inkscape.org/ru/ or whatever else is fashionable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question