Rpj
Rpj

Reputation: 6130

How to use a different background for an icon

http://twitter.github.io/bootstrap/base-css.html#icons - I would like to reuse the icon-minus with a different background (say grey). Can I customize the existing bootstrap icon or should I look for a different icon here.

Upvotes: 0

Views: 54

Answers (2)

David Nguyen
David Nguyen

Reputation: 8508

The icons use a sprite sheet, in order to alter the color of the sprite itself you will need image manipulation software. You may want to take a look at icon fonts, these are more versatile:

http://zurb.com/playground/foundation-icons

Upvotes: 1

Ravimallya
Ravimallya

Reputation: 6610

I would like to suggest you to use FontAwesome webfont icons. http://fortawesome.github.io/Font-Awesome/ . It can be easily integrated with Bootstrap.

Upvotes: 1

Related Questions