提问者:小点点

Firefox中bootstrap 3.3.5中的符号出现了一些问题


我的问题找不到答案。在Firefox中,字形仍然不起作用。仅限火狐。

例如:

  • home
  • 在我的.css文件中:

    @font-face {
      font-family: 'Glyphicons Halflings';

    src:url(“../fonts/glyphicons-halflings-regular.eot”); src:url('../fonts/glyphicons-halflings-regular.eot?#iefix')格式('embedded-openType'),url('../fonts/glyphicons-halflings-regular.woff2')格式('woff2'),url('../fonts/glyphicons-halflings-regular.woff')格式('woff'),url('../fonts/glyphicons-halflings-regular.ttf')格式 }

    null


    共1个答案

    匿名用户

    根据您针对该问题发布的jsfiddle,您似乎缺少所需的CDN。在我把这些包括在内之后:

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script
    

    它显示了符号。确保您有这些包括在您的页面和它应该工作。:)