CSS Grid Intro and Basic Layout Tutorial for Beginners
Dave Gray
@davegrayteachescodeAbout
Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs
Video Description
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this CSS Grid intro and basic layout tutorial for beginners, you will learn the CSS grid properties frequently used in constructing grid layouts. You will also create a basic layout with CSS grid. π© Subscribe β https://bit.ly/3nGHmNn π This lesson is part of a CSS for Beginners tutorial series playlist: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit π All Resources for this CSS Tutorial Series: https://github.com/gitdagray/css_course π¬ Course Updates β https://courses.davegray.codes/ CSS Grid Intro and Basic Layout Tutorial for Beginners (00:00) Intro (00:05) Welcome (00:26) Setup & Starter Code Review (01:48) Quickest way to apply a grid (02:32) grid-template-columns (05:28) grid-auto-rows (07:01) grid-template-rows, grid-auto-columns (07:27) row-gap, column-gap, gap (08:36) grid-column-start & end, grid-row-start & end (10:49) Viewing your grid in dev tools (12:19) grid-column, grid-row shorthand (14:14) align-content, justify-content, place-content (16:00) Adding HTML for grid-template-areas (17:49) grid-template-areas, grid-area (22:14) Experimenting with layout properties (24:53) CSS Grid Garden πΉοΈ Learning Games: π Flexbox Froggy: https://flexboxfroggy.com/ π CSS Grid Garden: https://cssgridgarden.com/ β Web Dev Tools: π Chrome Browser: https://www.google.com/chrome/ π Visual Studio Code (VS Code): https://code.visualstudio.com/ π Live Server VS Code Extension: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer π vscode-icons VS Code Extension: https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons π Github Themes VS Code Extension: https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme π W3C CSS Validator: https://jigsaw.w3.org/css-validator/ π Specificity Calculator: https://specificity.keegan.st/ π HTML Special Characters and Entities: https://unicode-table.com π References: π MDN CSS: https://developer.mozilla.org/en-US/docs/Web/CSS π MDN CSS Basics: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics π MDN CSS Selectors: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors π MDN - How to Apply Colors to HTML Elements with CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/color π MDN - CSS Values and Units: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units π MDN - The Box Model: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model π MDN - Styling Lists: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists π MDN - Display Property: https://developer.mozilla.org/en-US/docs/Web/CSS/display π MDN - Floats: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats π MDN - Columns: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns/Basic_Concepts_of_Multicol π MDN - Margin Collapsing: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing π MDN - White-Space: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space π MDN - Positioning: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning π MDN - Flexbox: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox π MDN - Basic Concepts of Grid Layout: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout π MDN - Grid Template Areas: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas π Typography Resources: π MDN: Fundamental Text and Font Styling - https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals π CSSFontStack.com: Websafe Fonts - https://www.cssfontstack.com/ π MDN: Styling Links - https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals π Color Resources: π Coolors Contrast Checker: https://coolors.co/contrast-checker/112a46-acc8e5 π WebAIM Contrast Checker: https://webaim.org/resources/contrastchecker/ π Coolors Palette Generator: https://coolors.co/ π HTML Color Codes: https://htmlcolorcodes.com/ β Follow Me: Github: https://github.com/gitdagray Twitter: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ Blog: https://yesdavidgray.com Reddit: https://www.reddit.com/user/DaveOnEleven Was this tutorial about CSS Grid Layouts for Beginners helpful? If so, please share. Let me know your thoughts in the comments. #css #grid #layout
Upgrade Your Gear Hauling
AI-recommended products based on this video

COTUBLR 31 Inch Computer Desk, Home Office Desk, Simple Modern Small Desk for Bedroom, Writing Desk with Storage Bag, Study Table for Students, Grey Oak

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

Long Range Super Endurance Foldable Drone with Camera for Beginnersβ36+ min Flight Time, WiFi FPV Quadcopter with 2K HD Camera, Brushless Motor, Auto Hover, Follow Me (2 Batteries)

3 Channel Dash Cam,4K+1080P Dash Cam Front and Rear Inside,Triple Car Camera, Dash Camera for Cars with 32GB Card,Built-in G-Sensor,170Β°Wide Angle,2ββ IPS Display,24Hr Parking,Night Vision

Dash Camera for Cars, 4K+1080P Dash Cam Front and Rear with 5G WiFi, Built-in 32GB Card, Night Vision, G-Sensor, Loop Recording, 24H Parking Mode

DJI Osmo Action 4 Standard Combo, 4K/120fps Waterproof Action Camera with a 1/1.3-Inch Sensor, Stunning Low-Light Imaging,10-bit & D-Log M Color Performance, Long-Lasting 160 Mins, Outdoor Camera

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with XLR Handle Extension, Wrist Strap and Cable Clamp for HDMI, QR Cold Shoe, NATO Rail/QR Plate for Arca,Titanium Gray - 4771




















