Is it better to use icons in SVG or PNG formatting for websites? Why?
Is it better to use icons in SVG or PNG formatting for websites? Why?
background-size
Font .
Especially I prefer SVG, because it becomes lighter, because it is a vector, and it is also easier to work, as our friend put it above, you have direct access to the code of the image, and you can style it according to your creativity. It is worth mentioning here that the icons created and available for frameworks, are all based on SVG, libraries like Awesome Font, Material Design, Bootstrap, etc ...