Check out example codes for "css color gradient background full height". It will help you in understanding the concepts better.

Code Example 1

html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

Learn ReactJs, React Native from akashmittal.com