পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Friday, March 17, 2017

Font Awesome - Chart Icons

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>
      <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>
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-line-chart custom"></i>
<i class="fa fa-pie-chart custom"></i>

No comments:

Post a Comment