質問するログイン新規登録

回答編集履歴

1

追記

2018/10/09 20:54

投稿

yoshinavi
yoshinavi

スコア3525

answer CHANGED
@@ -4,4 +4,20 @@
4
4
  font-family:ナイショ文字;
5
5
  src:url('naishomoji-regular-webfont.woff')format('woff');
6
6
  }
7
+ ```
8
+ -追記-
9
+
10
+ 「ナイショ文字」をクォーテーション(シングルorダブル)で挟んでみてください。
11
+ ```CSS
12
+ @font-face {
13
+ font-family:"ナイショ文字";
14
+ src:url('naishomoji-regular-webfont.woff')format('woff');
15
+ }
16
+ ```
17
+ ブラウザによっては英文字のみ対応もあるので、「naishomoji」等でも試してみてください。
18
+ ```CSS
19
+ @font-face {
20
+ font-family:"naishomoji";
21
+ src:url('naishomoji-regular-webfont.woff')format('woff');
22
+ }
7
23
  ```