Give help. Get help.

  • # November 14, 2012 at 11:34 pm

    Working on a website ([]( “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?

    # November 15, 2012 at 5:49 am

    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?

    # November 15, 2012 at 12:44 pm

    Also keep in mind that you aren’t running the final IE10 version that was released with Windows 8.

    # November 15, 2012 at 7:07 pm

    @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.

    # November 15, 2012 at 7:50 pm

    @richardlazear Not sure if this will do anything but try it.

    @media only screen and (min-width: 960px) {
    @-ms-viewport { width: 960px; }
    /* CSS Here */

    # November 17, 2012 at 12:13 am

    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.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.