Check out example codes for "html class cover full page". It will help you in understanding the concepts better.

Code Example 1

height: 100vh;

Learn ReactJs, React Native from akashmittal.com