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

  Рет қаралды 27,154

Cem Eygi Media

Cem Eygi Media

Күн бұрын

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.
Link for my other CSS Flexbox Tutorials: • CSS Flexbox Tutorials ...
#flexbox #css #webdevelopment

Пікірлер: 22
@iamjustine1
@iamjustine1 2 жыл бұрын
Man, this is what I am looking for. I needed the reverse value but I can also use order. Thanks a lot! Subscribed.
@r.s.7984
@r.s.7984 3 жыл бұрын
This is the best and simple video for flexbox i've seen so far. So easy to understand. Hoping for more videos. 👏👏
@chi-yinlin9542
@chi-yinlin9542 2 жыл бұрын
Thank you for the simple and straight to the point video! It's really helping me grasp unfamiliar concepts since I'm a beginner.
@gambo2003
@gambo2003 3 жыл бұрын
A new videooo 🥳🥳 so easy explained. Thanks a lot and wish u a successful week🖖🏼
@cemeygimedia
@cemeygimedia 3 жыл бұрын
I wish you a nice week too! :)
@balaji7564
@balaji7564 3 жыл бұрын
Simple, Easy, and perfect !! love it
@cemeygimedia
@cemeygimedia 3 жыл бұрын
Thank you! :)
@ReactedToAngular
@ReactedToAngular 7 ай бұрын
this video saved my day thanks aloooooooooot just in the 20 second of the start i remembered that order is my usecase ❤❤❤❤❤❤❤❤❤❤ enshalla god will lead you to paradise ❤❤❤❤❤❤❤❤❤❤
@darkpain4208
@darkpain4208 3 жыл бұрын
Just, Wow! ❤️
@chodavaramsaibharathreddy9756
@chodavaramsaibharathreddy9756 2 жыл бұрын
I want to wrap the items but I need minimum 2 items per each row how can achieve that..?
@fetB
@fetB Жыл бұрын
how do i make this 2 columns and auto rows?
@technotoyou4209
@technotoyou4209 2 жыл бұрын
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
@cemeygimedia
@cemeygimedia 2 жыл бұрын
Hello George, try max-width & width together for the boxes, I haven't used Grid before so can't really tell you whether it works...
@iCodeDre
@iCodeDre Жыл бұрын
Thank you so much. You have a new subscriber ❤
@raghibali3051
@raghibali3051 3 жыл бұрын
Very well explained thank you so much
@cemeygimedia
@cemeygimedia 3 жыл бұрын
You're welcome! :)
@messyice2524
@messyice2524 2 жыл бұрын
But how do you make rows of 3 when you have more than three item in a row???
@hooho491
@hooho491 2 жыл бұрын
thank you very much! teşekkürler hocam
@jr1152
@jr1152 Жыл бұрын
Thank you for this
@times747
@times747 Жыл бұрын
Thank you so much..
@mareksamofal3929
@mareksamofal3929 Жыл бұрын
Thank you
@burcubese4332
@burcubese4332 3 жыл бұрын
subscribed *-*
Learn Flexbox in 15 Minutes
15:12
Web Dev Simplified
Рет қаралды 1,2 МЛН
Learn CSS Displays in 12 Minutes | Grid, Flexbox, Inline Block, Block
12:15
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 1,8 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 919 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 6 МЛН
Learn CSS Flexbox in 20 Minutes (Course)
20:37
Coding2GO
Рет қаралды 173 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 174 М.
How to take control of Flexbox
16:01
Kevin Powell
Рет қаралды 137 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 194 М.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 188 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,6 МЛН
CSS Display FLEX vs Block, Inline & Inline-Block Explained
6:46
Cem Eygi Media
Рет қаралды 167 М.
Learn CSS flexbox in 10 minutes! 💪
10:01
Bro Code
Рет қаралды 169 М.
The secret to mastering CSS layouts
17:11
Kevin Powell
Рет қаралды 286 М.
Learn CSS Positioning Quickly With A Real World Example
8:32
Slaying The Dragon
Рет қаралды 670 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 1,8 МЛН