vb

val Number.vb: CSSSizeValue<CSSUnit.vb>(source)

Represents 1% of the viewport's block size.

This is the same as vw when the document is using a horizontal writing mode or vh if vertical.

This value may be affected by on-screen UI elements, but it generally lags behind them being shown or hidden. Use dvb if you want something that reacts to UI elements in real time.

See also