treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Using Behaviors with CSS

  • I'm a noob when it comes to coding; I just wanted to know if/how I can attatch a behavior (i.e. appear/fade) to CSS? I want to apply the same effect to multiple tags (i.e. for when each image has the Mouse Over). I'd appreciate the help!
  • There are 2 methods that I have used... CSS and JQuery... and I'm a noob too, so they're not too taxing

    Use the search function to look up "psuedo elements" for pure CSS only animation
  • Transitions can be achieved with CSS3, but browser support is still spotty (http://www.w3schools.com/css3/css3_transitions.asp for more info/examples). My impression is that, at this point in time, anyway, it's still a better idea to use javascript for these behaviors.