
Let's clear out our default browser styles. 😊 HTMLĬreate three boxes inside the body tag, like this 👇 Or, you can just open Codepen and start coding.Īt the end of this tutorial, you will be able to make accurate and beautiful website layouts.Īnd.we're all set! Let's start coding.

Create a folder named "Project-1" and Open VS Code.Follow along with me as we complete the following tasks:

ITERM CHEAT SHEET HOW TO
Note: The red colored text denotes the shorthand properties:īy the end of this tutorial, you'll have a clear understanding of how to use all of those properties.įor this project, you need to know little bit of HTML, CSS, and how to work with VS code. This chart contains every possible property you can use when using grid. grid architectureīy the way, you can join multiple rows and columns, just like in Excel software, which gives you more flexibility and options than Flexbox.īy the way, here's a CheatSheet I made for Flexbox if you want to learn more about that. Using various Grid properties, you can manipulate the items to create your website layouts. So how does Grid architecture work? The Grid items are distributed along the main axis and cross axis. Desktop View Mobile View CSS Grid Architecture

Here's a simple demo which I created using Grid as the main blueprint. This means your site will look good on desktop, mobile, and tablet. Not only that, it helps you create the structures you need for building responsive websites for multiple devices. The Grid model allows you to layout the content of your website. ADVERTISEMENT You can watch this tutorial on YouTube as well if you like: First, What is CSS Grid?
