« Font Awesome » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
[[Category:Web]]
[[Category:Web]]
= Liens =
* [https://fontawesome.com/icons Font Awesomr icons]
= Utilisation =
<kode lang='html'>
<a href="#" class="btn btn-sm btn-primary">
    <i class="fa fa-edit"></i>
</a>
<div class="text-center">
    <i class="fa fa-spinner fa-spin"></i>Loading ...
</div>
</kode>
= Installation =
= Installation =
== [https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself Installation manuelle] ==
== [https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself Installation manuelle] ==
Ligne 13 : Ligne 27 :
@import url('font-awesome/css/all.min.css');
@import url('font-awesome/css/all.min.css');
</kode>
</kode>
= [https://fontawesome.com/icons Font Awesome] =
<kode lang='html'>
<a href="#" class="btn btn-sm btn-primary">
    <i class="fa fa-edit"></i>
</a>
<div class="text-center">
    <i class="fa fa-spinner fa-spin"></i>Loading ...
</div>
</kode>
{{warn | Inclure le fichier {{boxx|font-awesome.css}}}}


= Other Icon Fonts =
= Other Icon Fonts =

Version du 19 mars 2020 à 19:46

Liens

Utilisation

Html.svg
<a href="#" class="btn btn-sm btn-primary">
    <i class="fa fa-edit"></i>
</a>

<div class="text-center">
    <i class="fa fa-spinner fa-spin"></i>Loading ...
</div>

Installation

Installation manuelle

  1. Télécharger Font Awesome
  2. Copier le dossier /webfonts et /css/all.min.css dans wwwroot/css
  3. Importer /css/all.min.css
Html.svg
<head>
  <link href="font-awesome/css/all.min.css" rel="stylesheet">
</head>
Css.svg
@import url('font-awesome/css/all.min.css');

Other Icon Fonts