ejbpha
Last Updated: November 12, 2017
·
2.658K
· filosottile
A336b0fe148e72a16744805d059f812a

Embed Glyphicons in Bootstrap CSS

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

Say Thanks
Respond