将FontAwesome图标添加到Glyphicon SVG

时间:2017-11-03 16:44:57

标签: css twitter-bootstrap svg font-awesome glyphicons

我正在使用bootstrap 3.3.7并且我在Glyphicon中需要FontAwesome中的这两个图标:

fa fa-long-arrow-up
fa fa-long-arrow-down

尝试使用StackOverFlow中的几种方法,比如icomoon,但我无法理解,因为我没有足够的CSS /字体经验。有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

只需将以下cdn添加到标题中:

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>

或者,您可以使用这些bootstrap glyphicons:

glyphicon glyphicon-arrow-up     //For the Up Arrow.


glyphicon glyphicon-arrow-down    //for the Down Arrow.
相关问题