Is there a way to create a first screen appearance that spans the entire screen? I want the whole page to be fullscreen and when someone scrolls down, it transitions to a new screen. I am struggling to find a solution for this.
body {
margin: 0 0 0 0;
}
#sample_img_1 {
height: 900px;
width: absolute;
background-image: linear-gradient(to right, green, blue);
}
#sample_img_2 {
height: 200px;
width: absolute;
background-image: linear-gradient(to right, red, orange);
}
<p id="sample_img_1"></p>
<p id="sample_img_2"></p>