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

Restructuring Removes Background Image Trick #431

Open
jmwebservices opened this issue Feb 9, 2021 · 0 comments
Open

Restructuring Removes Background Image Trick #431

jmwebservices opened this issue Feb 9, 2021 · 0 comments

Comments

@jmwebservices
Copy link

jmwebservices commented Feb 9, 2021

For UAs not supporting SVG as background images, there is a nice fallback which CSSO restructuring destroys.

.selector {
    background-image: url( 'image.png' );
    background-image: url( 'image.svg' ), none;
}

Results in:

.selector {
    background-image: url(image.svg),none
}

This is similar to #415 albeit for a different property.

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

1 participant