Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mhasan320/css-flexbox-365

A simple project based on CSS Flexbox. The live project Link is below:
https://github.com/mhasan320/css-flexbox-365

css flexbox front-end-development

Last synced: 3 days ago
JSON representation

A simple project based on CSS Flexbox. The live project Link is below:

Awesome Lists containing this project

README

        

# CSS Flexbox Project

Project Live Demo Link: https://codepen.io/mhhasan320/pen/ZEXxLZB
![Project-1](https://user-images.githubusercontent.com/16065340/147846582-b5cab11f-e77b-4ab7-b39d-b899a87fb3c4.png)

# CSS FlexBox ChectSheet
* flex contianer properties for the parent


1. display: flex // or inline-flex

2. flex-direction: row | row-reverse | column | column-reverse

3. flex-wrap: nowrap | wrap | wrap-reverse

4. flex-flow: column wrap // shorthand for the flex-direcition and flex-wrap

5. Justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly

6. align-items: flex-start | flex-end | center | stretch | baseline

7. align-content: flex-start | flex-end | center | stretch | space-between | space-around

8. gap: {value}px/%/em/rem;

9. gap: 10px 20px; // row-gap column gap

10. row-gap: 10px;

11. column-gap: 20px

* flex items properties for the Children


1. Order: 5: // default is 0

2. flex-grow: 4; // default is 0 negative numbers are invalid

3. flex-shrink: 3 // default is 0 negative numbers are invalid

4. flex-basis: starting width | auto // default auto

5. flex: none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ] {Example: flex: 0 1 100px or flex: 1 or flex: 1 1 0%}

6. align-self: auto | flex-start | flex-end | center | baseline | stretch

To know More About Flexbox: https://css-tricks.com/snippets/css/a-guide-to-flexbox/