CSS Flex Order & Flex Direction: How to Reorder Elements and Rows/Columns with CSS Flexbox?

preview_player
Показать описание
Learn CSS Flex Order & flex-direction properties and how to reorder HTML elements and rows/columns by using these 2 properties of CSS Flexbox.

Aligning HTML elements with standard CSS is really difficult, but using flexbox will make things much easier. By using flexbox, we can easily position our elements in horizontal or vertical order, and in addition, flexbox allows us to change the alignment order of elements in our layout.

So in this video, you're going to learn how to do that by using 2 flexbox properties called flex-direction & order.

#flexbox #css #webdevelopment
Рекомендации по теме
Комментарии
Автор

This is the best and simple video for flexbox i've seen so far. So easy to understand. Hoping for more videos. 👏👏

r.s.
Автор

Thank you for the simple and straight to the point video! It's really helping me grasp unfamiliar concepts since I'm a beginner.

chi-yinlin
Автор

Man, this is what I am looking for. I needed the reverse value but I can also use order. Thanks a lot! Subscribed.

iamjustine
Автор

this video saved my day thanks just in the 20 second of the start i remembered that order is my usecase ❤❤❤❤❤❤❤❤❤❤ enshalla god will lead you to paradise ❤❤❤❤❤❤❤❤❤❤

ReactedToAngular
Автор

Simple, Easy, and perfect !! love it

balaji
Автор

A new videooo 🥳🥳 so easy explained. Thanks a lot and wish u a successful week🖖🏼

gambo
Автор

Thank you so much. You have a new subscriber ❤

iCodeDre
Автор

thank you very much!
teşekkürler hocam

hooho
Автор

Very well explained
thank you so much

raghibali
Автор

how do i make this 2 columns and auto rows?

fetB
Автор

I want to wrap the items but I need minimum 2 items per each row how can achieve that..?

chodavaramsaibharathreddy
Автор

But how do you make rows of 3 when you have more than three item in a row???

messyice
Автор

Many thanks for that Cem. This is the first time I heard of the flex order.

Can you help with another problem. I have 4 evenly spaced cards managed by display: flex, with a flex-wrap: wrap. It works fine, except when the browser gets to a particular width when it shows 3 on one line and 1 on the other. Is there anywhere of telling flex to wrap with to 1 2 or 4 colums without using @media queries? Or will I have to use Grid?

Many thanks
George

technotoyou