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

New default value for the background-repeat property #40

Open
sandren opened this issue Mar 7, 2019 · 0 comments
Open

New default value for the background-repeat property #40

sandren opened this issue Mar 7, 2019 · 0 comments

Comments

@sandren
Copy link

sandren commented Mar 7, 2019

I think the historical default value of the background-repeat property is a perfect example of what the CSSWG would set differently if UA stylesheets were being written today. While repeating background patterns may have been common in the early web, they are now the exception, not the norm. As such I think we should consider changing the default behavior for background repetition.

*, ::before, ::after {
  background-repeat: no-repeat;
  box-sizing: border-box;
}
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