Bootstrap Icons not showing in published ASP.NET MVC application

后端 未结 17 1962
孤城傲影
孤城傲影 2021-01-30 11:30

--- NB: Go to the EDITED 2 section for summary ----

I have an ASP.NT MVC (4) application. I integrated (twitter)Bootstrap to it. Bootstrap is working perfectly, but the

17条回答
  •  时光说笑
    2021-01-30 11:43

    Run Fiddler or use the network tab on your browser's developer tools. What you should look for is 404 results for the requests that download the font files.

    Also make sure that the published site contains ~/Fonts/glyphicons-halflings-regular.[eot,svg,ttf,woff] files.

    The differences you are seeing in the computed CSS rules are because of minified CSS files (controlled by debug=true/false setting in web.config file). The value \e013 is just another way of writing the symbol you are seeing.

提交回复
热议问题