@font-face ie problems

前端 未结 4 1389
猫巷女王i
猫巷女王i 2020-12-19 17:27

I have tried a few different ways to include the correct fonts in the CSS. I know that I need the eot version for the font to work on IE, but I can\'t get it to recognize i

4条回答
  •  旧时难觅i
    2020-12-19 18:06

    This code should make it work.. if not, check your font URL (if it exists).

    @font-face {
      font-family: 'BebasNeue';
      src: url('fonts/BebasNeue.eot');
      src: local('BebasNeue'), local('BebasNeue'), url('fonts/BebasNeue.eot') format('embedded-opentype');
    }
    

提交回复
热议问题