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

[css-backgrounds] Proposal: add fill keyword to background-size #4117

Open
benface opened this issue Jul 16, 2019 · 0 comments
Open

[css-backgrounds] Proposal: add fill keyword to background-size #4117

benface opened this issue Jul 16, 2019 · 0 comments

Comments

@benface
Copy link

benface commented Jul 16, 2019

object-fit has two keywords that background-size doesn't have (other than none which is pretty much the equivalent of background-size's auto): scale-down and fill.

Issue #468 exists for adding the scale-down keyword to background-size.

I am creating this issue to suggest adding fill as well. It would be the equivalent of background-size: 100% 100%.

@benface benface changed the title [css-backgrounds] Add fill keyword to background-size [css-backgrounds] Proposal: add fill keyword to background-size May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants