How TO - Full Height Element


Learn how to stretch elements to fit the whole height of the browser window with CSS.


Full Height Div

Example

html, body {
  height: 100%;
}

.full-height {
  height: 100%;
}

<div class="full-height">..</div>
Try it Yourself »

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.