CKTIS / CSS
lvw — large viewport width unit
The lvw unit represents 1% of the large viewport width: the size calculated with dynamically retractable browser interface elements assumed to be retracted.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
<number>lvwlvw is a CSS length unit: 1lvw is 1% of the large viewport width. Write the number directly before the unit, for example width: 50lvw. It is not relative to the parent’s width.
The large viewport assumes dynamically retractable browser interface elements are retracted. Expanding those elements does not change the value of 1lvw. That value changes only when the large viewport width changes. A height-only resize leaves it unchanged if that width stays the same. Visible browser interface elements can obscure content.
svw refers to the small viewport and dvw to the dynamic viewport. The specification maps vw to lvw. This is physical width, not an axis determined by writing-mode; use lvi for the inline axis.
Examples
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lvw example</title>
<style>
html, body { margin: 0; overflow: hidden; }
.bar { width: 50lvw; height: 40px; background: teal; }
</style>
<div class="bar"></div>
</html>Result
At a large viewport width of 800 CSS pixels, the teal bar is 400 CSS pixels wide and 40 CSS pixels high.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.