Yes, people in the comments will say "don't", but if you absolutely must because of cross browser requirements, do it with a gulp task.
I use gulp-iconfont which will watch a directory for svgs and generate a font and matching css/scss file according to your template. That way you can namespace it as well, like .dn-icon--comment for a comment icon in a Designer News project.
Yes, people in the comments will say "don't", but if you absolutely must because of cross browser requirements, do it with a gulp task.
I use gulp-iconfont which will watch a directory for svgs and generate a font and matching css/scss file according to your template. That way you can namespace it as well, like
.dn-icon--comment
for a comment icon in a Designer News project.