|   Syntax |   Description and Notes | 
| @font-face { | beginning of rule | 
| font-family: "name of font"; | definition of the font family, which can then be referenced as a value of the font-family property | 
| src: url("path/to/font.ext")format("format-type"); | identification of the source file (or files) for the font; when specifying multiple sources, separate each value with a comma the format should be embedded-opentype for .eot files, woff for .woff files,truetype for .ttf files, and svg for .svg   files | 
| font-style: value; | specification of the embedded font's style, using the same syntax as the font-style property | 
| font-weight: value; | specification of the embedded font's weight, using the same syntax as the font-weight property | 
| } | closing of rule | 
2016年10月17日月曜日
Embedding Fonts (@font-face)
登録:
コメントの投稿 (Atom)
 
0 件のコメント:
コメントを投稿