yzvtfa
Last Updated: February 25, 2016
·
1.716K
· glaszig
Cb96935c08d5b850f3fbf1c1f25196fe

Custom glyph fonts with Font Custom and Compass

If you like to build your own fonts from vector graphics using Font Custom, you'd probably love it integrated with Compass.

Well, i have you covered: compass-fontcustom.

To have your font and css classes automatically generated:

@import "myfont/*.svg";
@include all-myfont-glyphs;

You're right. Works like sprites.

Given the myfont folder contains a file named glyph.svg you will have a css class available named .icon-myfont-glyph.

Say Thanks
Respond