Created
          June 23, 2014 10:32 
        
      - 
      
- 
        Save tlimpanont/8cedcb2826cdfe94c52b to your computer and use it in GitHub Desktop. 
    CSS3 Fade in/out transition 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #cf6_image { | |
| margin:0 auto; | |
| width:450px; | |
| height:281px; | |
| transition: background-image 1s ease-in-out; | |
| background-image:url("http://css3.bradshawenterprises.com/images/Cirques.jpg"); | |
| } | |
| #cf6_image:hover { | |
| background-image:url("http://css3.bradshawenterprises.com/images/Clown%20Fish.jpg"); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <div id="cf6_image"> | |
| </div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // alert('Hello world!'); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | {"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment