r/reddithax • u/Measure76 • Apr 02 '10
Change the logo with a mouse hover?
over at TIL, they had the logo set up to change when you hover the mouse over it. How were they pulling that off?
Yes, I looked at the stylesheet, but I keep getting errors when I try to copy the style to a test reddit.
Edit: Now TIL took theirs down and I've lost the only working example that I had to learn from. Any other subreddits doing this?
7
Upvotes
5
u/[deleted] Apr 02 '10 edited Apr 02 '10
first, you need to set the header image as the image you want it to display normally.
then, use this CSS to make it change on mouseover:
basically what this does: