Skip to content

SergioRBJ/flexbox-foundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Flexbox Foundamentals

A simple guide for flex-box element concepts and usage!

Start

To use flex-box in your project add this line in css file:

    display: flex;

flex-direction

To set the direction of flex items, use this command:

Horizontal direction(used by defaut):

    flex-direction: row;

HD

Vertical direction:

    flex-direction: column;

VD

Align the item following the opposite axis of flex-direction */

    align-items: center;

Align the item following the same axis of flex-direction */

    justify-content: center;

Examples

See layout examples in examples page.

About

Basics concepts of flexbox and css.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published