How do I make the H1 Text change color when hovered over?
Thanks much!
Andy
Hi!
The css code can vary (depends on the element you’re using, etc.) but try:
a h1:hover{
color: #333 !important;
}
Best regards,
Peter
Hi,
Thanks! Tried it, but didn’t work out.
Hi,
What text are you trying to change? Can you give us a screenshot?
Dude’s code should work.
Regards,
Ismael
Hi,
The first text is H1 titled ” The Le Thriller Project “
I used the css but it doesn’t change color when browsed over. I also turned it into a hyperlink to see if that hover effect would work, but didn’t.
Thanks Ismael.
Hi Andy,
Yes, it needs to be a link in order for the css above to work. What you need to do is target the specific heading you want to have the effect by inspecting the code and then use the :hover pseudo selector to give it a different color on hover.
See: http://www.w3schools.com/cssref/sel_hover.asp
Regards,
Devin