Используйте значки Font Awesome в CSS ⇐ CSS
-
Гость
Используйте значки Font Awesome в CSS
I have some CSS that looks like this:
#content h2 { background: url(../images/tContent.jpg) no-repeat 0 6px; } I would like to replace the image with an icon from Font Awesome.
I do not see anyway to use the icon in CSS as a background image. Is this possible to do assuming the Font Awesome stylesheets/fonts are loaded before my CSS?
Источник: https://stackoverflow.com/questions/147 ... ons-in-css
I have some CSS that looks like this:
#content h2 { background: url(../images/tContent.jpg) no-repeat 0 6px; } I would like to replace the image with an icon from Font Awesome.
I do not see anyway to use the icon in CSS as a background image. Is this possible to do assuming the Font Awesome stylesheets/fonts are loaded before my CSS?
Источник: https://stackoverflow.com/questions/147 ... ons-in-css
Мобильная версия