Search
 
SCRIPT & CODE EXAMPLE
 

HTML

change color of icon css

<style>
#icon{
  font-size:50px;
  color:red;
  transition-duration:.6s;
  }
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<i onclick='this.style.color="blue"' id='icon' class='fa fa-home'></i>
Click the icon.
Comment

PREVIOUS NEXT
Code Example
Html :: getmdl 
Html :: ngfor display in html table 
Html :: html table stack overflow 
Html :: print button html 
Html :: html upload image accept only few types 
Html :: whatsapp link html 
Html :: bootstrap 4 form input group 
Html :: google map for html 
Html :: external javascript file not working 
Html :: css stick div to bottom of page 
Html :: <p tag html 
Html :: bootstrap form textarea 
Html :: angular open pdf in new tab 
Html :: greater then less then in html text 
Html :: The href Attribute in html 
Html :: metadata 
Html :: nicescroll cdn 
Html :: dark blue html code 
Html :: how to add robots.txt 
Html :: select all text of input onclick 
Html :: function html js 
Html :: select country dropdown with flag 
Html :: form controller in bootstrap 
Html :: how to get the input of a textbox in html 
Html :: ionic phone url 
Html :: metamask delete account 
Html :: import html display 
Html :: html onkeyup set value 
Html :: link d3 
Html :: make flex scroll on overflow horizontal 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =