lang="en">
charset="UTF-8">
name="viewport" content="width=device-width, initial-scale=1.0">
Document
body {
background: red;
height: 5000px;
}
.container {
background: rgba(0, 0, 0, 0.534);
width: 100%;
/* height: 100vh; */
height: 100%;
}
class="container">
vh means the viewport height, and 100% means 100%.
Learn about lvh, svh , dvh