We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Background-size-polyfill doesn't work with pseudo elements :after and :before.
Here's an example:
div.test:after { background-image: url(test.jpg); background-repeat: no-repeat; background-position: center center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; -ms-behavior: url(backgroundsize.min.htc); behavior: url(backgroundsize.min.htc); }
The text was updated successfully, but these errors were encountered:
This would require some refactoring, as the polyfill currently sets styles on elements directly (which doesn't work for pseudo-elements).
Sorry, something went wrong.
any news on this one? :)
I'm also interested to hear if there's an update about this
No branches or pull requests
Background-size-polyfill doesn't work with pseudo elements :after and :before.
Here's an example:
The text was updated successfully, but these errors were encountered: