unit

lvw — CSS reference

One lvw is one hundredth of the physical width of its viewport reference. This variant uses the larger viewport with retractable browser controls fully retracted; visible controls may cover part of a full-height layout. Viewport sizes are not physical screen dimensions or necessarily the visual viewport during zoom. Scrollbar reservation can affect sizing.

Formal Syntax & Structure

css syntaxcss
width: 10lvw;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Relative length lab</title><style>body {margin:0} .sample {height:12px;background:#006050}html {writing-mode:horizontal-tb;overflow:hidden} #a {width:10lvw} #b {width:20lvw}</style><body><div id="a" class="sample"></div><div id="b" class="sample"></div></body></html>
CSS Reference