Home › Forums › CSS › Fade or slide div (nav) into view › Re: Fade or slide div (nav) into view
January 25, 2013 at 4:24 am
#122243
grimski
Participant
Doh!
I tried declaring the same animation in each style sheet (style.css, 480.css, 600.css, 768.css and 980.css) thinking it would just run again each time a new stylesheet was meet/loaded.
But adding:
#nav-main {
-webkit-animation: none; /* Safari 4+ */
-moz-animation: none; /* Fx 5+ */
-o-animation: none; /* Opera 12+ */
animation: none; /* IE10 */
}
In the stylesheet above seemed to sort it. I’m guessing if I wanted it to run every time a different stylesheet was loaded I’d have to set the animation to none, then set it to run again directly after.
Thanks again for you help,
Steve