I'm VERY new to CSS and HTML and this is my second proper website outside of class. I've got a rather unorthodox style as far as I can tell because I prefer to use grid as opposed to fixing objects based on their position. So, as a result I've had issues with getting the grid box to fully fit the screen so that the color of the grid takes advantage of the WHOLE screen.
I've attempted using 100vh/vw and 100%. Not sure what else to try considering the limited information I was able to find online
.ttl {
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
grid-template-areas: "g1";
height: 100vh;
width: 100%;
background-color: #FC7146;
justify-self: center;
}
.title {
grid-area: g1;
justify-self: center;
align-self: center;
text-align: center;
color: white;
z-index: 1;
font-family: 'MyWebFont', Fallback, sans-serif;
font-variant: small-caps;
letter-spacing: 7px;
font-size: 100px;
}
I'm just trying to make sure that the color fits the entire screen as it is not currently.