質問編集履歴
1
拡張子をttfに、formatをwoffに変えた
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
cssでローカルファイルないのフォントファイル(font1.
|
1
|
+
cssでローカルファイルないのフォントファイル(font1.ttf)を読み込みたいのですがうまく反映されません。
|
2
2
|
何が間違っているのでしょうか
|
3
3
|
|
4
4
|
```html
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<style type="text/css">
|
10
10
|
@font-face{
|
11
11
|
font-family:'font1';
|
12
|
-
src:url("font/font1.
|
12
|
+
src:url("font/font1.ttf")format("woff");
|
13
13
|
}
|
14
14
|
body{
|
15
15
|
font-family:'font1';
|