---
title: "Discussion on \"Learn CSS Flex In 5 Minutes\" | Hashnode"
description: "Discussion on \"Learn CSS Flex In 5 Minutes\". Check out my book JavaScript Grammar to learn JavaScript visually!\nIf you want a more detailed outline check out the complete  css flex tutorial  at Semicolon.\nFlex has crystallized itself as the modern day standard for designing responsive layouts. ..."
url: "https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Learn CSS Flex In 5 Minutes](https://jst.hashnode.dev/learn-css-flex-in-5-minutes?utm_source=hashnode&utm_medium=feed)

Check out my book JavaScript Grammar to learn JavaScript visually! If you want a more detailed outline check out the complete css flex tutorial at Semicolon. Flex has crystallized itself as the modern day standard for designing responsive layouts. ...

Nov 7, 2020 · 4 min read · jst.hashnode.dev  
Updated May 16, 2021  
Read the article

-   [#layout](https://hashnode.com/tag/layout)

## Written by

[Ghost](https://hashnode.com/@incognito-)

@incognito- · San Francisco, CA

  
[View profile](https://hashnode.com/@incognito-)

Self-employed software developer, artist, writer.

## Responses 2

Comments are turned off for this post.

[Koketso Mawasha](https://hashnode.com/@Koketso)

[Nov 8, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7b07454cc5b4ad931f9f3)

This is insightful content! I’m a victim of writing flex properties time and time and therefore this is a real time and efficiency booster!!

[Ghost](https://hashnode.com/@incognito-)

[Nov 9, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7b07454cc5b4ad931f9f3#reply-5fa9cdbe04e4a94a40f0d3be)

That's why we have css frameworks. But often they only complicate process by adding another layer of learning something new. Making a set of own classes is kind of making your own framework without installing anything.

[Robert Shichz](https://hashnode.com/@shiznode)

[Dec 22, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7b07454cc5b4ad931f9f3#reply-5fe25530e28a2b6bca52be93)

Go fuck yourself wannabe teacher

[Alan Montgomery](https://hashnode.com/@alanmontgomery)

[Nov 7, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7045c0163314ab6d7f44e)

Brilliant little guide. Although being a Senior developer myself, and already knowing flex, this is great and I can see this being a real "go to article" for people to remind them about important flex properties.

Good job. Love it - and love the simple class names which have a huge effect on efficiency and simplicity!

[Ghost](https://hashnode.com/@incognito-)

[Nov 9, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7045c0163314ab6d7f44e#reply-5fa9ce96fc2ed04a63dd8582)

Thanks for the kind words:)

All this occurred to me after hundreds of hours spent writing and rewriting same flex properties. Just put them into classes.

Many elements require centered content. There is no way I am writing...

```
display:flex; 
justify-content: center;
align-items: center;
```

...for each new centered flex box just to make an element center items on both axis.

[Alan Montgomery](https://hashnode.com/@alanmontgomery)

[Nov 9, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7045c0163314ab6d7f44e#reply-5fa9d66704e4a94a40f0d3e8)

[JavaScript Teacher](https://hashnode.com/@jstdev) I couldn't agree more! It's an absolute pain point writing those exact properties 100000x

[Robert Shichz](https://hashnode.com/@shiznode)

[Dec 22, 2020](https://hashnode.com/posts/learn-css-flex-in-5-minutes/5fa6c1db0163314ab6d7f145/comment/5fa7045c0163314ab6d7f44e#reply-5fe2538ce28a2b6bca52be82)

Russian butt-fucker
