An open API service indexing awesome lists of open source software.

https://github.com/foyez/flexbox

Flexbox at a glance
https://github.com/foyez/flexbox

Last synced: 9 months ago
JSON representation

Flexbox at a glance

Awesome Lists containing this project

README

          

# Flexbox


## What is flexbox?

- it makes easy to align elements to one another, in different direction
- replaces float layouts, using less and more readable and logical code
- uses in one directional layouts

## Main flexbox concepts

Flexbox Structure
Flexbox Structure



Flexbox Cheatsheet
Flexbox Cheatsheet



```
flex-direction: row; // main-axis - horizontal, cross-axis - vertical
flex-direction: column; // main-axis - vertical, cross-axis - horizontal

justify-content - define main axis
align-content - define cross axis
```

- **`align-content`:** [ref](https://css-tricks.com/almanac/properties/a/align-content/)