2 ms·
Inline SVG has several advantages over icon fonts, which were never meant to exist: - immediate rendering - multi-color icons without any stacking tricks - f
by ricardobeat 7y ago
Inline SVG has several advantages over icon fonts, which were never meant to exist:
- immediate rendering
- multi-color icons without any stacking tricks
- flexible styling
- better aliasing, more consistent rendering
- can be animated
- easily load only assets used on the page vs a sheet of hundreds, most never used
- works well with rendering libraries like React, makes manipulating images very easy
- compresses well with gzip, no need for symbols
It’s becoming standard practice for good reasons.
- jraph 7y ago- works for people who block web fonts