Last Updated: November 12, 2017
·
3.364K
· filosottile

Embed Glyphicons in Bootstrap CSS

Twitter Bootstrap comes with some nice icons from Glyphicons, but that forces you to manage 2 other files, "glyphicons-halflings.png" and "glyphicons-halflings-white.png".

However, it is easy to embed these images into the css file: simply open "bootstrap.min.css", and replace "../img/glyphicons-halflings.png" and/or "../img/glyphicons-halflings-white.png" with the values listed in the Gist below.

https://gist.github.com/3788579