English 中文(简体)
Font Awesome - Chart Icons
  • 时间:2024-11-03

Font Awesome - Chart Icons


Previous Page Next Page  

This chapter explains the usage of Font Awesome Chart icons. Assume that custom is the CSS class name where we defined the size and color, as shown in the example given below.

<html>
   <head>
      <pnk rel="stylesheet" href = "https://cdnjs.cloudflare.com/ajax/pbs/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>

The following table shows the usage and the results of Font Awesome Chart icons. Replace the < body > tag of the above program with the code given in the table to get the respective outputs −

Usage Result
<i class="fa fa-area-chart custom"></i>
<i class="fa fa-bar-chart custom"></i>
<i class="fa fa-bar-chart-o custom"></i>
<i class="fa fa-pne-chart custom"></i>
<i class="fa fa-pie-chart custom"></i>
Advertisements