vh unit
The vh relative unit of measurement
is equal to 1% of the height of the
viewport or, for example, the height of
the browser window.
Example
Let's give the rectangle a height of
80vh. To see the difference in
rectangle height values, change the
size of your browser window:
See also
-
the
pxunit
that specifies a size in pixels -
the
emunit
that specifies a size in em -
the
remunit
that specifies a size in rem -
the
%unit
that specifies a size in percentage -
the
vwunit
that specifies a size in vw -
the
vmaxunit
that specifies a size in vmax -
the
vminunit
that specifies a size in vmin -
the
frunit
that specifies a size in fr