Bootstrap icon icon Glyphicons Abnormal display solution is as follows:
Share for your reference:
1, in the ff/http: the Address bar input "About:config", that is, into the configuration interface.
2, after entering, search "Security.fileuri.strict_origin_policy", this is the value should be true.
3, double-click the item, its value automatically becomes false, you can.
4, after the modification, and then refresh the problem of the page, you can see the normal display of the icon.
Explore the cause of the problem:
1, because of ff/http: a security policy caused. This policy restricts the access of HTML files to Web fonts in folders that are not in the root directory.
2, this restriction is only in the local development environment, while the Web fonts is not available from remote acquisition.
3, then looked at the next mentioned the bootstrap project without problems.
4, sure enough, its Fonts folder is placed in the root directory of the project.
5, so even if not to change the above security policy, it can be normal display.
6, @font-face address:
@font-face {
font-family: ' glyphicons halflings ';
Src:url ('.. /fonts/glyphicons-halflings-regular.eot ');
Src:url ('.. /fonts/glyphicons-halflings-regular.eot #iefix ') format (' Embedded-opentype '), url ('.. /fonts/glyphicons-halflings-regular.woff ') format (' Woff '), url ('.. /fonts/glyphicons-halflings-regular.ttf ') format (' TrueType '), url ('.. /fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular ') format (' SVG ');
}
The above is a small set to introduce the bootstrap icon icons icon glyphicons Abnormal display of the fast solution, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!