Change color of font-awesome star icon - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Font awesome

Description

Change color of font-awesome star icon

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor </title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css"> 
 </head> <!-- w  w  w  .ja va2 s .c  o  m-->
 <body> 
  <i class="fa fa-star" style="font-size:48px;color:yellow"></i> 
  <br>  
 </body>
</html>

Related Tutorials