February 2, 2017 01:54 pm GMT
Original Link: https://css-tricks.com/couple-svg-icon-links/
A Couple SVG Icon Links
- WordPress' new TwentySeventeen default theme uses an SVG icon system. It was contributed by Sami Keijonen who had some prior experience in that, and wrote up a bit about it here. The theme has functions that spit out correct/accessible markup for them.
- Webpack now has a SVG sprite loader, which allows you to
import myGreatIcon from './my-great-icon.svg';
like you do with other resources in webpack. - Both aforementioned projects note IE/Edge's lack of ability to
<use>
from a file
…
A Couple SVG Icon Links is a post from CSS-Tricks
Original Link: https://css-tricks.com/couple-svg-icon-links/
Share this article:
Tweet
View Full Article