Search
Close this search box.
Course Content
CSS Basic
0/1
CSS Selectors
0/1
CSS Comments
0/1
CSS Backgrounds
0/1
CSS Borders
0/1
CSS Outline
0/1
CSS Fonts
0/1
CSS Height and Width
0/1
CSS Margins and Paddings
0/2
CSS Icons
0/1
CSS Links
0/1
CSS Lists
0/1
CSS Tables
0/1
CSS Display Properties
0/1
CSS Max-Width Property
0/1
CSS Positioning Elements
0/1
CSS Z-Index Property
0/1
CSS Overflow
0/1
CSS Float
0/1
CSS Opacity
0/1
CSS Forms
0/1
CSS Dropdowns
0/1
CSS Buttons
0/1
CSS Media Queries
0/1
About Lesson

Defination:

Flexbox, or the Flexible Box Layout, is a layout model in CSS that provides an efficient way to design complex layouts with a more predictable and powerful alignment of items within a container. It’s particularly useful for creating dynamic and responsive user interfaces. Flexbox allows you to distribute space along a single axis (either horizontally or vertically) and automatically adjusts the size and position of elements within a container.

Mainly flexbox properties divided into two Categories.:

1. Container Properties

  • display: flex;
  • flex-direction
  • justify-content
  • align-items
  • align-content
  • flex-wrap
  • flex-flow

 

2. Item properties

  • flex-grow
  • flex-shrink
  • flex-basis
  • flex
  • order
  • align-self