Possible duplicate:Rails: using the awesome font
I have a Rails application in which I use many twitter-bootstrap icons.
To do this, I put "boostrap.css.erb" in / assets / stylesheets / folder directlyalso "glyphicons-halflings-white.png" and "glyphicons-halflings.png" in the / assets / images / folder folder.
Now I just downloaded Font awesome and extracted.I guess I have to do something with these files. Can someone tell me how to set up?
/ css / folder
/ font / folder
, html
<link href="css/font-awesome.css" rel="stylesheet"> <!--[if IE 7]> <link href="css/font-awesome-ie7.css" rel="stylesheet"> <![endif]-->
, ( /css ). , ,
<span class='icon-star'></span>
( css font-awesome.css. . , , ..)
Source: https://habr.com/ru/post/1524761/More articles:How do I change a field attribute after ng-click? - angularjsПостоянная интеграция с серверами Xcode bots на "Получение источников..." - iosCan we name functions before defining them? - cSetThreadExecutionState preventing hand sleep - windowsFont awesome not loading icons - Rails 4 - cssrails 4 using strong parameters without controller - ruby-on-railsVim plugin to switch Python function / method arguments between single and multi-line - vimMass update in RethinkDB - rethinkdbHow to rewrite a SQL join from two tables with a join in LINQ? - c #Is there a way to test browser usage using selenium (java) / web driver (chrome) - javaAll Articles