Jump to content
Sign in to follow this  
mmmartin

Background & text color change (hover)

Recommended Posts

Hey. I am a beginner in html+css, and so far I have been able to solve everything out with google, but this is where it all stopped.

 

I would like to make a solid color background with three icons on it(they are connections). When you hover the first icon, background color changes to yellow. When you hover second one, background color goes to red etc... what is the best solution for this, considering I would like to make a translation soft (meaning from dark gray to yellow in 0.5second, not instantly). Is that achievable with css or is that something where js comes in?

 

The same goes with a text... i would like it to be clickable and change color on hover, again with transition.

 

Just a simple image, but I guess text is clear enough.

 

3wcockU.jpg

 

Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...