How to make gradient fills for SVG?

There is a svg icon in black color. How to make, that she was not black but a gradient? Only worked with bitmap graphics. It is necessary to open a vector file, not the svgin Illustrator and there to make the fill gradient? Or via css can be done?
June 27th 19 at 15:22
1 answer
June 27th 19 at 15:24
open search is necessary, but not Illustrator:
https://yandex.ru/search/?text=svg%20градиент%20cs...

Find more questions by tags DesignHTMLSVGUser interfaceWeb Development