You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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%.
The text was updated successfully, but these errors were encountered:
benface
changed the title
[css-backgrounds] Add fill keyword to background-size
[css-backgrounds] Proposal: add fill keyword to background-sizeMay 16, 2024
object-fit
has two keywords thatbackground-size
doesn't have (other thannone
which is pretty much the equivalent ofbackground-size
'sauto
):scale-down
andfill
.Issue #468 exists for adding the
scale-down
keyword tobackground-size
.I am creating this issue to suggest adding
fill
as well. It would be the equivalent ofbackground-size: 100% 100%
.The text was updated successfully, but these errors were encountered: