public marks

PUBLIC MARKS from decembre with tag woff

June 2017

CSS - @font-face - Using @font-face - CSS-Tricks

The @font-face rule allows custom fonts to be loaded on a webpage. Once added to a stylesheet, the rule instructs the browser to download the font from where it is hosted, then display it as specified in the CSS. Without the rule, our designs are limited to the fonts that are already loaded on a user's computer, which vary depending on the system being used. Here's a nice breakdown of existing system fonts.

May 2015

CSS - ICONS - @font-face, Accélérez vos polices d'icônes ! - Alsacreations

Aller un peu plus loin Oui mais voila, il reste encore trop de fichiers à charger. C'est là qu'intervient le schéma Data-URI, que l'on utilisait pour les icônes images afin de supprimer une requête en intégrant directement l'image dans le fichier CSS. L'idée est la même, intégrer directement la police de caractères dans le fichier CSS. Une option disponible dans les préférences d'Icomoon : "Encode et Embed Font in CSS". On se retrouve avec un fichier CSS contenant les définitions suivantes, où les versions TTF et WOFF de la police sont directement dans le fichier CSS, la version EOT restant externe.

decembre's TAGS related to tag woff

@font-face +   @import +   Alasacreation +   api +   cdn +   css +   download +   Flash Of Unstyled Text +   font +   Font Service +   fout +   google font +   open type +   otf +   police +   Scalable Vector Grafic +   stylesheet +   svg +   truetype +   ttf +   tutoriel +   WOFF2 +