W3C home > Mailing lists > Public > www-style@w3.org > May 2010

suggestion: fixed-aspect-ratio CSS rule for block elements

From: Julien Cayzac <julien.cayzac@gmail.com>
Date: Wed, 5 May 2010 16:46:41 +0900
Message-ID: <y2u8ac6caaf1005050046lfefaecfehc2ba0cc6bc098d09@mail.gmail.com>
To: www-style@w3.org
It would be very sweet if you could actually enforce a block 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 would be especially useful when designing elastic interfaces that
display videos.
Example: Right column at http://www.veille.jp/

Julien Cayzac
Received on Wednesday, 5 May 2010 13:12:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:34 UTC