how to stretch height css code example Example: stretch div to full height #root { position: absolute; top: 0; left: 0; height: 100%; width: 100%; }