- Font Awesome
- Font Awesome 圖示
- Font Awesome - 網頁圖示
- Font Awesome - 手勢圖示
- Font Awesome - 交通工具圖示
- Font Awesome - 性別圖示
- Font Awesome - 檔案型別圖示
- Font Awesome - 載入動畫圖示
- Font Awesome - 表單控制元件圖示
- Font Awesome - 支付圖示
- Font Awesome - 圖表圖示
- Font Awesome - 貨幣圖示
- Font Awesome - 文字編輯器圖示
- Font Awesome - 方向圖示
- Font Awesome - 播放器圖示
- Font Awesome - 品牌圖示
- Font Awesome - 醫療圖示
- Material Icons
- Material Icons
- Material - 動作圖示
- Material - 警報圖示
- Material - 音影片圖示
- Material - 通訊圖示
- Material - 內容圖示
- Material - 裝置圖示
- Material - 編輯器圖示
- Material - 檔案圖示
- Material - 硬體圖示
- Material - 圖片圖示
- Material - 地圖圖示
- Material - 導航圖示
- Material - 通知圖示
- Material - 社交圖示
- 材質 - 切換圖示
- Bootstrap Glyphicons
- Bootstrap Glyphicons
- Bootstrap - 元件
- 網頁圖示實用資源
- 網頁圖示 - 快速指南
- 網頁圖示 - 實用資源
- 網頁圖示 - 討論
材質 - 切換圖示
本章解釋 Google (Material) 切換圖示的使用方法。假設custom是我們在下面示例中定義大小和顏色的 CSS 類名。
<!DOCTYPE html>
<html>
<head>
<link href = "https://fonts.googleapis.com/icon?family=Material+Icons" rel = "stylesheet">
<style>
i.custom {font-size: 2em; color: green;}
</style>
</head>
<body>
<i class = "material-icons custom">accessibility</i>
</body>
</html>
下表包含 Google (Material) 切換圖示的使用方法和結果。將上面程式的<body>標籤替換為表中給出的程式碼,即可獲得相應的輸出:
| 用法 | 結果 |
|---|---|
| <i class="material-icons custom">check_box</i> | check_box |
| <i class="material-icons custom">check_box_outline_blank</i> | check_box_outline_blank |
| <i class="material-icons custom">indeterminate_check_box</i> | indeterminate_check_box |
| <i class="material-icons custom">radio_button_checked</i> | radio_button_checked |
| <i class="material-icons custom">radio_button_unchecked</i> | radio_button_unchecked |
| <i class="material-icons custom">star</i> | star |
| <i class="material-icons custom">star_border</i> | star_border |
| <i class="material-icons custom">star_half</i> | star_half |
廣告