• Resolved Barton

    (@thebarton)


    I’m getting a validation error with the html validator when using mobile menu plugin.

    Here’s the error:

    Error: CSS: transition: 0 is not a transition value.

    At line 494, column 31

    (assuming the line numbers aren’t very accurate for you)

    Here’s the code:

    /* Adds a transition and the resting translate state */↩
    .mob-menu-slideout .mobmenu-push-wrap, .mob-menu-slideout .mob-menu-header-holder {↩

    -webkit-transition: all 300ms ease 0;↩
    -moz-transition: all 300ms ease 0;↩
    -o-transition: all 300ms ease 0;↩
    transition: all 300ms ease 0;↩

    Note the 0.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Thanks for the heads up. That’s definitely wrong it should be this rules instead.

       -webkit-transition: -webkit-transform .5s;
        -moz-transition: -moz-transform .5s;
        -ms-transition: -ms-transform .5s;
        -o-transition: -o-transform .5s;
        transition: transform .5s;

    Will fix it for the next update to release in a couple weeks. Can you change it for now?

    Thanks

    Plugin Author Rui Guerreiro

    (@takanakui)

    @thebarton
    Did you managed to test my code suggestion?

    Thanks

    Barton

    (@thebarton)

    I have not, but I can wait until there’s a plugin update from WordPress. Thank you, I appreciate it.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Thanks, Probably next week the new update will be released.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘html5 validator error’ is closed to new replies.