[英]Some Glyphicons in Bootstrap not found
我正在嘗試在Bootstrap中使用Glyphicons,但出現此錯誤:
> http://address/fonts/glyphicons-halflings-regular.woff2
> http://address/fonts/glyphicons-halflings-regular.woff GET
> http://address/fonts/glyphicons-halflings-regular.ttf 404 (Not Found)
我不知道該怎么辦,我已經嘗試了StackOverflow上提出的所有解決方案。
只是使用
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
尋找其他
雕ly雕ly- *
在http://getbootstrap.com/components/#glyphicons-glyphs
並確保您包含了bootstrap CSS
嘗試在您的.htaccess文件中添加ttf | woff | woff2
RewriteRule!。((js | css | ico | gif | jpg | png | mp4 | ttf | woff | woff2)$ index.php
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.