Home › Forums › JavaScript › Weird blinking in jQuery fade effect › Re: Weird blinking in jQuery fade effect
January 30, 2013 at 8:58 am
#122834
Member
Hi esbenvh!
Well the first thing I noticed was that the css for the html definition is missing a “k”
html {
font-size: 100%;
bacground-color:#000;
}
I don’t think that will fix the issue since the browser’s default unstyled background color is usually white. So I think a better idea might be to add a content wrapper immediately inside the body and fade that out instead of the body.
You might want to also speed up the transition, one second is a bit long considering one second to fade out and another to fade back in.