Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Missing standard property 'transform' to go along with '-webkit-transform'.” when referring to a CSS property within @-webkit-keyframes #706

Open
infinnie opened this issue Aug 7, 2017 · 1 comment

Comments

@infinnie
Copy link

infinnie commented Aug 7, 2017

@-webkit-keyframes todo {
    0% {
        -webkit-transform: scaleZ(1);
        box-shadow: 0 0 4px rgba(0,0,0,.15);
        opacity: 0;
    }
    /* ... */
}

By default, there would be a warning:

Missing standard property 'transform' to go along with '-webkit-transform'.

The problem is that if a browser supports @-webkit-keyframes it must support -webkit-transform and that should therefore neither be an error nor a warning.

@himanshuapril1
Copy link

I think it's always a best practice to have generic (without vendor prefix) property available below your vendor specific attributes, since usually vendor specific attributes are kept/considered only for compatibility fallback [till the time all the browsers are ready to upgrade them in order to support generic properties itself ;-) ].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants