How to Create a Grid Layout with CSS Flexbox - Beginner Tutorial

Опубликовано: 05 Ноябрь 2021
на канале: Front End Beginners
9,881
153

In this tutorial, we look at how to create a grid layout with CSS Flexbox.

"CSS Grid" should really be your default layout tool for two-dimensional layouts, however, it is still possible to create a responsive grid layout using only CSS Flexbox and media queries.

This is a good way to practice your Flexbox skills, and in this example we'll look at a few different Flexbox properties, including the "gap", "flex-basis", "flex-wrap", and "flex" properties.

We'll talk about creating equal width columns as well as uneven columns, and then how to make the whole thing responsive using media queries for different device widths.

I hope you found this video helpful. If you have any questions, please leave them in the comments below and I'll do my best to answer as soon as possible.

TIMESTAMPS:
00:00 Introduction
00:40 How Flexbox works for grid layouts
01:34 Setting up our first grid row
03:57 Adding additional columns in our first row
05:19 Adding a second row to our grid
06:15 Making our Flexbox grid responsive
09:22 Creating additional rows in our grid
10:45 Content with different heights
11:40 Creating uneven columns
14:41 Summary

WATCH NEXT:
• CSS Flex Basis (flex-basis) Explained -    • CSS Flex Basis (flex-basis) Explained...  
• CSS Flex Wrap (flex-wrap) Explained -    • CSS Flex Wrap (flex-wrap) Explained -...  
• CSS Flex Grow (flex-grow) Explained -    • CSS Flex Grow (flex-grow) Explained -...  


На этой странице сайта вы можете посмотреть видео онлайн How to Create a Grid Layout with CSS Flexbox - Beginner Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Front End Beginners 05 Ноябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,881 раз и оно понравилось 153 зрителям. Приятного просмотра!