Step 48
When the screen width is small, the h1
does not wrap its text content how it should. Align the text for the h1
element in the center.
Then, give the main
padding such that the Student Info
section header can be fully seen.
h1 {
color: #f1be32;
font-size: min(5vw, 1.2em);
text-align:center;
}
h2{
padding:4rem
}
Hint
You should add a main
selector to target the main
element.
Challenge: Step 48
Link to the challenge: