備忘。
游ゴシック体が、かすれてしまわないための設定。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | body{ font-family: "YuGothic","Yu Gothic","Hiragino Kaku Gothic Pro","Meiryo",sans-serif; } /*__ Font設定 _______________________*/ /*「游ゴシック体」のかすれ防止*/ @font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: normal;; } @font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Bold"); font-weight: bold; } /* over IE10 & Edge 游ゴシック体をOFFに設定*/ @media all and (-ms-high-contrast: none) { body { font-family: Verdana, Meiryo, sans-serif; } } |