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

Re: vh and vw as units for dimensions.

From: Henrik Andersson <henke@henke37.cjb.net>
Date: Tue, 28 May 2013 15:48:54 +0200
Message-ID: <51A4B5C6.9060303@henke37.cjb.net>
To: irfan mir <theirf@gmail.com>, www-style@w3.org
irfan mir skriver:
> I just learned about the vh and vw units and see how it would be very
> helpful in terms of typography.
> 
> But in terms of using it as a unit for dimensions, what differentiates
> vh for height and vw for width from percent?
> Don't a 100 of all 3 take up the entire viewport?
> 

Indeed they do. But per cent might not. The viewport units are always
relative to the viewport size. Per cent values are not.
Received on Tuesday, 28 May 2013 13:49:40 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:28 UTC