Installation des fonts
Chargement des fonts en ligne
Dans le <head>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet">
Dans le fichier style.css
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
Chargement des fonts en local
@font-face {
font-family: 'nom-de-la-police';
src: url('Dossier-du-font/Police.otf') format('opentype') ou ('truetype');
Pour les .otf Pour les .ttf
}