W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] aspect-ratio CSS rule?

From: Julien Cayzac <julien.cayzac@gmail.com>
Date: Wed, 5 May 2010 15:44:17 +0900
Message-ID: <z2m8ac6caaf1005042344wacb91588p6449075783193604@mail.gmail.com>
It would be very sweet if you could actually enforce an element's
aspect ratio using CSS, so you wouldn't have to rely on hacks in the
line of http://lab.veille.jp/aspectratio/ anymore.

This is especially useful when designing elastic interfaces that display videos.
Example: Right column at http://www.veille.jp/

Julien
--
Julien Cayzac
http://julien.cayzac.name/
skype://jcayzac?chat
Received on Tuesday, 4 May 2010 23:44:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC