shivkumarprajapat / complete-css-flexbox-tutorial

Our comprehensive guide to CSS flexbox layout. This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex container) and the child elements (the flex items). It also includes history, demos, patterns, and a browser support chart.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlexBox

Flex item properties

Display

display: property-name;

 flex

alt text

Flex Direction

flex-direction: property-name;

row
row-reverse
column
column-reverse  

alt text

Flex Wrap

flex-wrap: property-name;

nowrap
wrap
wrap-reverse

alt text

Flex Flow

flex-flow: property-name;

nowrap
wrap
wrap-reverse

alt text

Justify Content

justify-content: property-name;

center
flex-start
flex-end
space-between
space-around
space-evenly

alt text

Align Items

align-items: property-name;

center
flex-start
flex-end
baseline
stretch

alt text

Align Content

align-content: property-name;

center
flex-start
flex-end
baseline
stretch    

alt text

Order

order: property-name;

 order-first
 order-last
 order: 5;
 /* default is 0 */

alt text

Flex Grow

flex-grow: property-name;

1
2
3
4
5

alt text

Flex Shrink

flex-shrink: property-name;

1
2
3
4
5  

alt text

Flex Basis

flex-basic: property-name;

flexBasis="200px"

alt text

Flex

flex: property-name;

1
2
3

alt text

Align Self

auto
flex-start
flex-end
center
baseline
stretch;

alt text

FlexBox Box Layout

alt text

About

Our comprehensive guide to CSS flexbox layout. This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex container) and the child elements (the flex items). It also includes history, demos, patterns, and a browser support chart.


Languages

Language:HTML 50.6%Language:CSS 49.4%