Flexbox in CSS & HTML (Tutorial) - develop responsive layouts Language: German

Flexbox in CSS & HTML (Tutorial) - develop responsive layouts

Web design, CMS & development · 28 Videos · 3.3 h Video training · German Stephan Haewß by Stephan Haewß

Do responsive layouts always cause you problems when developing websites and apps? Change that with Flexbox layouts! Stephan Haewß uses theory, practical exercises and concrete examples to explain how to use Flexbox in CSS and HTML correctly and for different layouts. The modern solution for flexible desktop and mobile views of your pages!

  • How to develop responsive layouts with Flexbox in CSS and HTML
  • Explained step by step: basics, arrangement, alignment, spacing and sequences
  • Specific examples of typical layouts such as centering and nested layouts
  • Learn & understand: with practical exercises including exercise materials
  • Ideal for web developers, web designers and front-end developers
  • A 3-hour intensive course on Flexbox by developer and trainer Stephan Haewß

Start the tutorial and expand your HTML and CSS knowledge with everything you need to know about Flexbox.

content

28 Videos, 199 minutes

Intro to the tutorial

1 Video · 2 minutes
01 Open free of charge

Flexbox in CSS & HTML: 1 | What can you expect in the course?

2 min

This is what you can expect in the Flexbox in CSS and HTML course.

Introduction

2 Videos · 12 minutes
02 Open free of charge

Flexbox in CSS & HTML: 2.1 | Why Flexbox and how does it work?

6 min

What is flexbox layout and why should you use it at all?

03 Open free of charge

Flexbox in CSS & HTML: 2.2 | Setting up the initial project

6 min

This is where the project is set up in which work will then continue.

Flexbox Layout – Basics

18 Videos · 136 minutes
04 Open

Flexbox in CSS & HTML: 3.1 | Structure of the example structure

10 min

Here I present the example structure and the debugging options integrated in VS Code with the MS Edge tools. In addition, the flexbox layout is activated for the first time in this video and the direction is set.

05 Open

Flexbox in CSS & HTML: 3.2 | Distribute child elements evenly

15 min

How can the space be divided evenly or in certain proportions in the flexbox layout?

06 Open

Flexbox in CSS & HTML: 3.3 | Child elements - Distribute space (exercise)

4 min

A little exercise that requires a little (simple) math.

07 Open

Flexbox in CSS & HTML: 3.4 | Concrete example for responsive design

11 min

Here I present a horizontal layout with two sidebars that adapts responsively to the width.

08 Open

Flexbox in CSS & HTML: 3.5 | Alignment of child elements

6 min

Child elements can be aligned by the flex container along the transverse axis. Here I show how this can be set.

09 Open

Flexbox in CSS & HTML: 3.6 | Stretch and single alignment

6 min

The alignment of all child elements can be adjusted not only for the container, but also for the individual elements using align-self.

10 Open

Flexbox in CSS & HTML: 3.7 | Stretch and single alignment (exercise)

7 min

A small exercise for individual alignment with a cube.

11 Open

Flexbox in CSS & HTML: 3.8 | Alignment in main direction

5 min

Not only can you align along the transverse axis in a flex container, you can also adjust the alignment along the main axis ;-)

12 Open

Flexbox in CSS & HTML: 3.9 | Example for alignment in main direction

4 min

A small example of how aligning along the main axis can be used very well for a frequent layout.

13 Open

Flexbox in CSS & HTML: 3.10 | Base length in flex direction

7 min

If you want to be flexible, you also need to be able to specify the size of the child elements regardless of the specific width or height. Fortunately, there is the flex-basis property, with which you can achieve exactly this. If you change the flex-direction, a width becomes a height and vice versa.

14 Open

Flexbox in CSS & HTML: 3.11 | Regulate the size increase in flex direction with flex-grow

8 min

How much should an element grow if there is more space available than the flex-base specifies? This can be specifically set with flex-grow.

15 Open

Flexbox in CSS & HTML: 3.12 | Use flex-shrink to regulate the reduction in the flex direction

12 min

How much should an element shrink if there is less space than the flex-basis specifies? This can be specifically set with flex-shrink.

16 Open

Flexbox in CSS & HTML: 3.13 | Wrapping

17 min

Child elements can not only shrink if there is less space, but can also be wrapped by the container. I show you how to control this with flex-wrap in this video.

17 Open

Flexbox in CSS & HTML: 3.14 | The flex-flow property

5 min

flex-direction and flex-wrap can be combined in the flex-flow property. This even makes sense if you only want to set flex-direction, as flex-flow is shorter ;-)

18 Open

Flexbox in CSS & HTML: 3.15 | Wrapping (Exercise)

5 min

A task for flex-wrap.

19 Open

Flexbox in CSS & HTML: 3.16 | Gap

5 min

Spacing is sometimes necessary to avoid making it unnecessarily uncomfortable for the human eye. Fortunately, gap is a CSS property that does exactly this for the child elements of a flex container.

20 Open

Flexbox in CSS & HTML: 3.17 | Order and Reverse Direction

7 min

Order is a must, especially for web interfaces, because they should be easy to use. The order sometimes also needs to be defined individually without moving elements in the DOM. The CSS property order is very well suited for this, as it allows you to easily change the visible order of the elements.

21 Open

Flexbox in CSS & HTML: 3.18 | Order (Exercise)

2 min

Let's test whether you have understood the sequence. There's even a second way to achieve the same result, but you'll surely figure it out too.

Examples of layouts with Flexbox

6 Videos · 45 minutes
22 Open

Flexbox in CSS & HTML: 4.1 | Centering

4 min

It happens very often that you want to center elements and especially text horizontally and vertically (!). What was a cramp before Flexbox is a child's birthday party with Flexbox.

23 Open

Flexbox in CSS & HTML: 4.2 | 3 columns, 3 rows

9 min

Who doesn't know the 3-splitter? If it adapts to the available space, there's not much left to responsive design.

24 Open

Flexbox in CSS & HTML: 4.3 | Form inputs

7 min

Are there websites without forms? If so, there are not many. That's why it's very important to arrange them in an appealing way, which fortunately is no problem with Flexbox.

25 Open

Flexbox in CSS & HTML: 4.4 | Nested layout

9 min

Very often you have to deal with nested layouts, but with Flex-Layout even these are no longer a big challenge.

26 Open

Flexbox in CSS & HTML: 4.5 | Chat-Layout

7 min

Nowadays, web chat clients are a dime a dozen, and AI chatbots have been added to the list. But how can you implement a chat with Flexbox? I'll show you in this video.

27 Open

Flexbox in CSS & HTML: 4.6 | Gallery-Layout

9 min

Since Web 2.0 at the latest, you can find a gallery on almost every website. In this video, I describe how such a layout can be wonderfully implemented with Flexbox, for example.

Conclusion

1 Video · 4 minutes
28 Open

Flexbox in CSS & HTML: 5 | Conclusion and outlook

4 min

Now everything should be clear as far as the Flex layout is concerned. Finally, I'll describe what you should have learned, what else you can do and what other beautiful CSS layout options are available.

Comments (0)

Comment now „Flexbox in CSS & HTML (Tutorial) - develop responsive layouts“