svh — small viewport height unit
The svh unit equals 1% of the small viewport height, calculated assuming that retractable browser interface elements are expanded.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
The svh unit equals 1% of the small viewport height, calculated assuming that retractable browser interface elements are expanded.
The CSS length unit svmax equals 1% of the larger small-viewport dimension. It uses the viewport size with dynamically retractable browser interface elements expanded.
The CSS length unit svmin equals 1% of the smaller small-viewport dimension. It scales an element relative to width or height, assuming that dynamically retractable browser bars are expanded.
The svw unit represents 1% of the small viewport width, calculated assuming that dynamically expanding browser interface elements are expanded.
The `turn` unit expresses an angle as a number of complete revolutions. `1turn` equals `360deg`, and `0.25turn` is a right angle. Use it wherever the CSS syntax accepts an `<angle>`.
The vb unit represents 1% of the large viewport along the element’s block axis. That axis depends on writing-mode.
The CSS unit vh represents 1% of the large viewport height. It makes a length depend on the browser viewport rather than the size of a parent element.
The vi unit represents 1% of the large viewport’s dimension along the inline axis of the box it applies to. That box’s writing mode determines the axis.
The vmax length unit equals 1% of the larger dimension of the large viewport: its width or height. It scales an element relative to the longer axis, regardless of orientation.
The vmin length unit equals 1% of the smaller dimension of the large viewport. It scales an element against the page viewport’s width and height, not its parent.
The vw unit expresses a length relative to the large viewport width: 1vw is 1% of that width, independently of the parent's width.