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

color change on hover problem

  • The background-color cant change because everything is ontop and covering the background. Im trying to have each icon change color with a bit of opacity on :hover. Any other ideas on how i can do this? heres what i want to edit. http://codepen.io/anon/full/ktrva

  • Hover states really only apply to links and you don't have any do you?

  • You can add a :hover to the DIV elements. For UX reasons, make sure you add a "cursor". Try adding this at the bottom of the CSS and then roll-over the Safari Icon. Is this what you are trying to do?

    #safari:hover { opacity: .85; cursor: pointer; }
  • @archetype that's exactly what im trying to do. But it doesnt work for styled icons. only the plane ones.