Flex Direction
The flex-direction property controls the main axis direction of flex items.
Row (Default)
Items flow left to right:
Loading CSS Playground...
Row Reverse
Items flow right to left:
Loading CSS Playground...
Column
Items flow top to bottom:
Loading CSS Playground...
Column Reverse
Items flow bottom to top:
Loading CSS Playground...
Interactive Direction
Loading Flexbox Playground...
Practical: Vertical Navigation
Loading CSS Playground...
Responsive Direction
Change direction based on screen size:
Loading CSS Playground...
Main vs Cross Axis
Direction determines the axes:
Loading CSS Playground...
Exercise: Create Vertical Stack
Change the layout to a vertical column:
Loading CSS Exercise...
التالي · الدرس 17 من 27
Justify Content
قراءة 2 دقيقة
أنهيت 16 من 27 درسًا

اسأل Byte عن هذا الدرس
محادثة خاصة حول هذا الدرس. قرأ Byte الدرس كاملًا، ويجيب خلال ثوانٍ، ويُظهر القسم الذي تأتي منه كل إجابة. يمكنك السؤال بأي لغة.
الأسئلة والأجوبة
أسئلة عامة حول هذا الدرس. يجيب AI Tutor فورًا بلغتك، ويراجع فريق FreeAcademy الإجابات، ويمكن لكل المتعلمين قراءتها.

