Search code examples
cssasp.net-mvcfont-awesomeglyphicons

Replacing glyph icons with FontAwesome icons


For collapse/expand icons curretnly I have this in my Razor code:

<span class="glyphicon glyphicon-minus"></span>

So it has the "+" and "-" icons that my JS uses to toggle between them.

Now I want to use Up and Down arrows, how can I use FontAweosme up and down arrows?


Solution

  • I think this would work:

    <span><i class="fa fa-angle-up"></i></span>
    <span><i class="fa fa-angle-down"></i></span>