我猜標題說明了一切。報價圖標不存在於我正在使用的引導程序3中設置的圖標圖標中。 我知道我可以使用一個單獨的圖像,但這意味着一個額外的請求正在進行,並且圖像也不會是矢量的。所以我想知道也許有一個更優雅的方式來做到這一點?如何在Bootstrap glyphicons中添加報價圖標?
2
A
回答
2
嘗試使用字體真棒http://fortawesome.github.io/Font-Awesome/icons/它有qoutes。
下載並執行它在你的項目,你做的時候實現它,你可以使用它像這樣:
<i class="fa fa-quote-left"><i>I'm quoted!<i class="fa fa-quote-right"><i>
6
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
<blockquote>I'm quoted</blockquote>
相關問題
- 1. 如何使用Jade標記Bootstrap glyphicons?
- 2. 如何在haml文件中添加glyphicons
- 3. glyphicons bootstrap圖標不與textarea對齊
- 4. 在Bootstrap 3中用Glyphicons PRO替換標準Glyphicons Halflings?
- 5. bootstrap 3 cdn glyphicons不在Firefox中加載
- 6. Bootstrap Glyphicons如何工作?
- 7. 如何在OpenERP 7的報價樹視圖中添加新列
- 8. Bootstrap中的GLYPHICONS 2.3.2
- 9. php中的bootstrap glyphicons
- 10. 如何配置webpack在React中加載glyphicons/font-awesome圖標
- 11. 如何在輸入中加入Glyphicons圖標?
- 12. Bootstrap Glyphicons圖標不在服務器上的IE中呈現
- 13. glyphicons PRO圖標無法在Rails 4.2中正確顯示4.2/bootstrap
- 14. Twitter Bootstrap Glyphicons
- 15. Rails Bootstrap glyphicons
- 16. Twitter bootstrap - Glyphicons
- 17. Animating Bootstrap glyphicons
- 18. glyphicons和bootstrap 4
- 19. 如何在Twitter Bootstrap中添加自定義圖標?
- 20. Bootstrap不包括任何glyphicons
- 21. 標準api如何向列添加報價?
- 22. 如何報價添加到img標籤的src屬性
- 23. Bootstrap中缺少glyphicons 2.3.2
- 24. Twitter Bootstrap Heroku中的Glyphicons
- 25. Twitter Bootstrap 3 Glyphicons error
- 26. Symfony2和Twitter Bootstrap glyphicons
- 27. cakePHP 3.0和bootstrap glyphicons
- 28. 沒有添加報價
- 29. 添加「報價」按鈕,jwysiwyg
- 30. 添加保證金glyphicons
我知道,但是我已經在其他地方使用glyphicon項目,我寧願堅持下去。 – Jand
glyphicon沒有報價,除非他們會在新版本中添加新的字形。 –