Icon font like fontawesome can be created from
https://icomoon.io:
1. Prepare your SVG files in a folder with .svg extension.
2. upload these svg files to icomoon website.
3. Generate font and then download the font.
4. Look at the style.css file: here you see the fonts to import and icon code.
Labels: CSS