Font Awesome - 影片播放器圖示



本章解釋了 Font Awesome 影片播放器圖示的使用方法。假設custom是我們在下面示例中定義大小和顏色的 CSS 類名。

<html>
   <head>
      <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">

      <style>
         i.custom {font-size: 2em; color: gray;}
      </style>
		
   </head>
	
   <body>
      <i class = "fa fa-adjust custom"></i>
   </body>
	
</html>

下表顯示了 Font Awesome 影片播放器圖示的使用方法和結果。將上述程式的<body>標籤替換成表中給出的程式碼,即可獲得相應的輸出:

用法 圖示
<i class="fa fa-arrows-alt custom"></i>
<i class="fa fa-backward custom"></i>
<i class="fa fa-compress custom"></i>
<i class="fa fa-eject custom"></i>
<i class="fa fa-expand custom"></i>
<i class="fa fa-fast-backward custom"></i>
<i class="fa fa-fast-forward custom"></i>
<i class="fa fa-forward custom"></i>
<i class="fa fa-play-circle custom"></i>
<i class="fa fa-play-circle-o custom"></i>
<i class="fa fa-random custom"></i>
<i class="fa fa-step-backward custom"></i>
<i class="fa fa-stop custom"></i>
<i class="fa fa-pause custom"></i>
<i class="fa fa-play custom"></i>
<i class="fa fa-youtube-play custom"></i>
廣告