I have set the background image to a linear gradient but it repeats vs expanding to the full length of the browser window. I added the following prop/code to the html
selector height: 100%
and it fixes the problem. Why is this prop needed to make this work? I would like to understand what's going on.
This jsfiddle is an example https://jsfiddle.net/k0cdeu4x/ , not sure why there's a white bg on the paragraph element
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
html {
background-image: linear-gradient(to bottom, rgb(176,194,213), white 700px);
}
</style>
</head>
<body>
<div class="wrapper">
<p style="height: 700px">Foo</p>
</div>
</body>
</html>