Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS IE11, Edge calc() Problems

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #237674
    koenigsegg1
    Participant

    I just tested one of my pens (http://codepen.io/koenigsegg1/pen/GoEvRd) in Edge and IE and noticed that the both of them were not transitioning the right property with the calc()value. Can someone explain why and, if possible, provide a solution?

    The blue menu is the part that is not transitioning properly.

    Any help is greatly appreciated.

    #237919
    koenigsegg1
    Participant

    Bump…

    #237922
    timbarden
    Participant

    Hey,

    From what I’ve read it appears to be a bug, which is a bit pants.

    However, there does seem to be a solution. From what I’ve read here you can use multiple translateX values instead to compensate for the calc. Eg: transform: translateX(100%) translateX(-20px);. I’ve learnt something today!

    I forked your Pen and tested it with IE in BrowserStack – seems OK now :)

    http://codepen.io/timbarden/pen/jWXmob?editors=010

    Tim

    #237924
    koenigsegg1
    Participant

    Thanks, Tim, that’s very interesting! The forked pen doesn’t have the same effect as the original one, but I think I can work out some of the kinks.

    Thanks Much!

    #237929
    Shikkediel
    Participant

    It’s listed as a known issue here :

    http://caniuse.com/#feat=css-transitions

    #237954
    koenigsegg1
    Participant

    @Shikkediel Thanks for the resource.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.