[CSS] Optimiser le chargement des polices pour le web - Le Hollandais Volant
mercredi 18 novembre 2015 à 09:24Utilisation de « local() » pour chercher une police en local.
@font-face {
font-family: "roboto";
font-style: normal;
font-weight: 400;
src: local("roboto"), local("roboto-regular"), url("roboto.woff") format("woff");
}
(Permalink)
@font-face {
font-family: "roboto";
font-style: normal;
font-weight: 400;
src: local("roboto"), local("roboto-regular"), url("roboto.woff") format("woff");
}
(Permalink)