Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 2 Overall Page Layout You will use CSS grid to create the overall page layout. The page mainly contains three rows and three columns

Part 2 Overall Page Layout
You will use CSS grid to create the overall page layout. The page mainly contains three rows and
three columns as shown below
Header (row height:6rem)
Main (row height: 1fr, column width: 80%)
Footer (row height: 3rem)
create 3 columns and 3 rows based on the specification given in the picture above (Hint: Select
the body element)
select each grid item and place it in the proper grid area, you may either
use the grid-template-areas property to create named grid areas and then assign each area to
the corresponding element, or
use the line-based placement (grid-column and grid-row)
Save the changes and check in the browser to make sure that all elements are placed in the
correct grid area. You may notice that the nav bar overflows the header area. That's okay. We
will fix this in Part 4.
Next, make the header always visible at the top of the viewport even when the page is scrolled.
(Hint: use the position property)
Similarly, make the footer always visual at the bottom of the viewport even when the page is
scrolled.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions