bobbysebolao / learn-css-grid

A short intro to using CSS Grid to create responsive grid layouts for the web
1 stars 4 forks source link

Learn CSS Grid

A short intro to using CSS Grid to create responsive web layouts.

The Challenge

The aim of this challenge is to learn how to use CSS Grid to recreate the layout of the BBC News home page.

When we're done, our web page will look like this:

A screenshot of our fictional CSS News home page

Getting Started

Clone this repo and open index.html in your code editor.

Your task is to apply the following 5-column/2-row grid layout to the contents of <main class="posts">:

Skeleton for a 5-column grid layout

Note that:

Top tip: Open the page in your web browser and use the special toggle controls to help you align things.

Stretch Goal 1

Add:

Write the CSS for this part inside responsive.css.

Hint Media queries will come in handy.