- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Oct 2011 22:24:29 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values In directory hutz:/tmp/cvs-serv26384 Modified Files: Overview.src.html Log Message: Make it clearer that vw/vh are percentages of the viewport Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.src.html,v retrieving revision 1.130 retrieving revision 1.131 diff -u -d -r1.130 -r1.131 --- Overview.src.html 11 Oct 2011 23:58:29 -0000 1.130 +++ Overview.src.html 25 Oct 2011 22:24:27 -0000 1.131 @@ -582,15 +582,15 @@ </dl> <h4 id="viewport-relative-lengths"> -Viewport-relative lengths: the ''vw'', ''vh'', ''vm'' units</h4> +Viewport-percentage lengths: the ''vw'', ''vh'', ''vm'' units</h4> - <p>The viewport-relative lengths are relative to the size of the initial + <p>The viewport-percentage lengths are relative to the size of the initial containing block. When the height or width of the viewport is changed, - they are scaled proportionally. + they are scaled accordingly. <dl> <dt><dfn title="vw">vw unit</dfn> - <dd>Equal to 1/100th of the width of the initial containing block. + <dd>Equal to 1% of the width of the initial containing block. <div class="example"> <p>In the example below, if the width of the viewport is 200mm, the font size of <code>h1</code> elements will be @@ -599,7 +599,7 @@ </div> <dt><dfn title="vh">vh unit</dfn> - <dd>Equal to 1/100th of the height of the initial containing block. + <dd>Equal to 1% of the height of the initial containing block. <dt><dfn title="vm">vm unit</dfn> <dd>Equal to the smaller of ''vw'' or ''vh''.
Received on Tuesday, 25 October 2011 22:24:33 UTC