Check out example codes for "fixed size body html". It will help you in understanding the concepts better.

Code Example 1

html {
    position: relative;
    min-width: 1024px;
    min-height: 768px;
    height: 100%;
}
<!-- Remove height 100% if needed fixed height -->

Learn ReactJs, React Native from akashmittal.com