- From: François REMY <francois.remy.dev@outlook.com>
- Date: Sun, 19 May 2013 00:41:30 +0200
- To: "'Lea Verou'" <lea@w3.org>, "'www-style list'" <www-style@w3.org>
Hi Lea, Do you have a mockup of what a layout using this arrangement may look in the end? I'm not totally able to see how it would end up if we did put together on the same line multiple images using this technique but I'm under the impression the white space resulting from the arrangement would compensate from the area adjustment. So, where would you want to use this property? On a left-floating image? Best regards, François De : Lea Verou [mailto:lea@w3.org] Envoyé : samedi 18 mai 2013 23:54 À : www-style list Objet : [css3-box] area property for replaced elements with an intrinsic aspect ratio I, and I presume other authors as well, have frequently run into this issue: There is a list of images with varying dimensions and aspect ratios (e.g. logos) and we want all of them to have the same visual impact. We can set max-width or max-height, but in that case, square logos will still have a higher visual impact than long or tall ones. What we basically want is the ability to set the area of the element, and have the dimensions automatically adjust. I guess this could be useful in other cases of replaced elements with intrinsic dimensions or aspect ratios as well. What do you think? Lea Verou W3C developer relations http://w3.org/people/all#lea ✿ http://lea.verou.me ✿ @leaverou
Received on Saturday, 18 May 2013 22:42:00 UTC