Question: Part 2 Style the header area Select the header element change the background color to # 0 c 3 b 2 e set the font

Part 2 Style the header area
Select the header element
change the background color to #0c3b2e
set the font color to #fff so that it is easier to read on a darker background. As
we mentioned before, this does not impact the anchor elements.
Select the h1 element to set a 0.5 rem padding on the top and the left, and a 0
padding on the right and the bottom.
Now, let's style the navigation bar.
Select the ul element in the nav element (Hint: since we have multiple ul
elements, use a descendant selector to select the one in the header)
o set the text alignment to the right
set a 0 padding on the top and the left, a 1rem padding on the right, and a
0.5 rem padding on the bottom
Select all li elements in the nav element to set the font size to 1.5rem
Select all anchor elements in the nav element to set the font color to white
Use pseudo-class on these anchor elements to add effects to these elements.
When an elements is hovered over or is active
add a solid bottom border of width 4px with color #6d9773. Check in
the browser to make sure that the bottom border appears when the
mouse hovers over a link in the header.
 Part 2 Style the header area Select the header element change

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!