W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

[csswg-drafts] [css-backgrounds] Add `fill` keyword to `background-size` (#4117)

From: Benoît Rouleau via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Jul 2019 17:48:37 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-468784193-1563299316-sysbot+gh@w3.org>
benface has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds] Add `fill` keyword to `background-size` ==
`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%`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4117 using your GitHub account
Received on Tuesday, 16 July 2019 17:48:40 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC