W3C home > Mailing lists > Public > www-style@w3.org > August 2014

[css-images] Add values "cover-width" and "cover-height" to object-fit

From: Andrés Moreno <andres@an3.es>
Date: Thu, 14 Aug 2014 12:16:41 +0000
Message-ID: <CA+JuuPBmx0RATX=O1YXw3agfGQtHDOdiS-bVUV8ry1EGjzm5ag@mail.gmail.com> (sfid-20140814_121647_628525_73F8595E)
To: www-style@w3.org
Hi,

I think this two additional values for the object-fit property would be
interesting:

- "cover-width" : keep aspect ratio and always fill the box width (but not
necessarily the box height).
- "cover-height" : keep aspect ratio and always fill the box height (but
not necessarily the box width).


-- Andrés
Received on Monday, 18 August 2014 16:09:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 18 August 2014 16:09:45 UTC