[Bootstrap] 使用 Glyphicons 圖示

[Bootstrap] 使用 Glyphicons 圖示

想在 HTML 裡面加上一些常見的簡單圖示,

像是向左、向上等等的,可以用 bootstrap 的 glyphicons

不過也是要看搭配上去合不合適才行…

 

舉例來說,下面用了 glyphicon-chevron-left 產生一個向左的符號:

<span class='glyphicon glyphicon-chevron-left' aria-hidden='true'></span>借閱記錄

 

或是用 glyphicon-arrow-up 產生一個向上的符號:

回到頁首<span class='glyphicon glyphicon-arrow-up' aria-hidden='true'>

 

顯示起來會像下面這樣囉:

Screen Shot 2015-08-01 at 12.10.05 AM  

 

(本頁面已被瀏覽過 294 次)

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料