add linear gradient to body code example
Example 1: css color gradient background full height
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
}
Example 2: how to make a linear gradient in css
/* Add the class name insted of class */
.class {
background: linear-gradient(to top, #000000, #fffffff);
}