Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use font Awesome Icons with asp.net?

Tags:

asp.net

I'm using asp.NET and I want to use font awesome icons in my project but I don't know how. Can someone help me with that please? thanks in advance

like image 582
I_Nesrine Avatar asked May 10 '17 11:05

I_Nesrine


1 Answers

Use the Visual Studio NuGet Package Manager to do the heavy lifting and configuration for you.

Go to Tools drop down menu --> NuGet Package Manager --> Manage NuGet Packages for Solution...

Then select the Browse tab at the top of the Nuget - Solution window. Search using FontAwesome. Select FontAwesome at top of search results, and select checkbox on project pane on right of window. Click Install.

Open your master page and drag the the font-awesome.css file from Solution Explorer panel into the head of your master page to correctly link to it. Now you're ready to use it and can look up the syntax here.

Example:

<p>
   <i class="fa fa-camera-retro"></i> fa-camera-retro
</p>
like image 155
IrishChieftain Avatar answered Sep 22 '22 23:09

IrishChieftain