I have problems with Font Awesome

0

Hello, I downloaded font awentsome, put the stylesheet as follows: <link rel="stylesheet" href="css/fontawesome.min.css"> I have the folder "webfonts" at the same level of the index. But he does not show me the icons. Any help?

    
asked by julk3772 30.11.2018 в 17:13
source

1 answer

0

Download the Font file from this Link:

https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself

Example of the web:

<head>
 <link href="/your-path-to-fontawesome/css/all.css" rel="stylesheet"> <!--load all 
 styles -->
</head>
<body>
  <i class="fas fa-user"></i> <!-- uses solid style -->
  <i class="far fa-user"></i> <!-- uses regular style -->
  <i class="fal fa-user"></i> <!-- uses light style -->
  <!--brand icon-->
  <i class="fab fa-github-square"></i> <!-- uses brands style -->
</body>

Example that I recently made by putting the folder where the file is:

The file all.css at the end has the sources there you have to see that it is redirected to the webFonts folder

And there the icons already work:

    
answered by 30.11.2018 в 17:39