- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Working on a website ([freedomknot.com](http://www.freedomknot.com “FreedomKnot”)), I came across a little issue with the IE10 Release Preview (running on Windows 7). Code for CSS animations work fine placed normally in the .css file, but when I place the animation code into a media query for a different viewport size, the animation does not play. Chrome, Opera, and Firefox do not have this issue. This is not a pressing issue, I just want to know if anybody else has come across this issue?
I just installed the IE10 preview on W7 64bit and everything seems to be working at all browser sizes.
Which animation/transition is not work at what viewport size?
Also keep in mind that you aren’t running the final IE10 version that was released with Windows 8.
@ToxicFire and @Paulie_D, this is what I currently have.
@media only screen and (min-width: 960px) {
.tagline {animation: tagline-load 3s ease 3.5s 1 normal forwards;}
@keyframes tagline-load {
from {text-shadow: none;}
to {text-shadow: 0 1px 0 #ccc,
0 2px 0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);}
}
}
If I were to place this code outside of a media query, it works fine in IE10, but inside a media query, as shown above, does not work.
@richardlazear Not sure if this will do anything but try it.
@media only screen and (min-width: 960px) {
@-ms-viewport { width: 960px; }
/* CSS Here */
}
Thank you so much @ToxicFire. Your suggestion works great! It’s just a little frustrating that IE10 (at least this particular version) works this way.