vh

The vh CSS unit specifies 1% of the default viewport’s height.

Syntax

<number>vh

Examples

1 · CSS

2 · JS · Inline

3 · JS · Internal

dvb

dvh

dvi

dvmax

dvmin

dvw

lvb

lvh

lvi

lvmax

lvmin

lvw

svb

svh

svi

svmax

svmin

svw

vb

vi

vmax

vmin

vw

cap

ch

cm

cqb

cqh

cqi

cqmax

cqmin

cqw

deg

dpcm

dpi

dppx

dvb

dvh

dvi

dvmax

dvmin

dvw

em

ex

grad

ic

in

lvb

lvh

lvi

lvmax

lvmin

lvw

mm

ms

pc

pt

px

Q

rad

rem

s

svb

svh

svi

svmax

svmin

svw

turn

vb

vi

vmax

vmin

vw

World Wide Web Consortium (W3C)

Home Menu