cccn:using_font-face
- avant toute déclaration (afin d'être accessible partout)
@font-face {
font-family:'<name>';
src: url('<path/to/font>'); format('<format>');
font-weight: normal; // mettre weight avant style, sinon risque de bug
font-style: normal;
}
→ note : les noms de fontes sont sensibles à la casse.
→ http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax
→ fontsquirrel.com
cccn/using_font-face.txt · Last modified: 2016/01/04 16:53 by leo