Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Creating Simple Layouts - Comparing Flexbox and Grid Approaches

Kevin Powell via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore various approaches to creating a simple layout in this insightful video tutorial. Analyze the strengths and weaknesses of different techniques submitted by a Discord community, including flexbox, grid, and even tables. Discover how to effectively use flex and grid for main layouts and card arrangements, and learn about innovative solutions like using flex with margin adjustments and creating two-column card layouts. Compare multiple flex solutions, examine a grid approach, and delve into the grid vs. flexbox debate. Gain valuable insights on subgrid implementation and look forward to future layout challenges. Perfect for web developers seeking to enhance their CSS layout skills and understand the nuances of different design approaches.

Syllabus

- Introduction
- Flex or grid for the main layout
- Flex or grid for the layout of the cards
- Using flex on top and a margin-left on the bottom
- Using flex to make two columns inside the card
- Comparing the two flex solutions
- A grid solution
- Grid vs. Flexbox discussion
- Subgrid solution
- More challenges coming

Taught by

Kevin Powell

Reviews

Start your review of Creating Simple Layouts - Comparing Flexbox and Grid Approaches

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.