I see that you're going for a fade-in/fade-out. With transition, it would only fade out once the target is not the hash anymore.
Hi. My name is Jonathan Snook and this is my site. I write about what interests me, which is usually web design, development, and technology. I'm also in the middle of a food adventure and I like whisky.
I wrote SMACSS. I tweet. Want to learn more?