Hey there, I'm diving into the world of coding and taking on a new project as a beginner. My goal is to recreate Google's Advanced Search page from scratch. Right now, I'm focusing on creating the header section using the power of display: grid;
. One thing I'm struggling with is figuring out how to add background colors to individual rows.
#header{
display: grid;
grid-template-columns: 100px 1fr 50px;
grid-template-rows: 50px 200px;
grid-template-areas:
"google-logo . search"
"advanced-search . ."
}
I'm particularly stumped on how to give the row containing google-logo . search
a cool gray background color. If anyone has any tips or suggestions to help me out, I would greatly appreciate it! Thank you so much in advance!