---
title: "Discussion on \"CSS : Flex, Flexbox and Alignment\" | Hashnode"
description: "Discussion on \"CSS : Flex, Flexbox and Alignment\". Flex\nIt is used to fit the item in the space available in the flex container.\n#flex-container {\n  display: flex;\n  font-family: Consolas, Arial, sans-serif;\n}\n\nflex-basis: sets the initial main size of a flex item.\nflex-grow: it assigns the space to ..."
url: "https://hashnode.com/posts/css-flex-flexbox-and-alignment/652ea0d8b66a12c316e0d7f3"
---

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

Discussion

# [CSS : Flex, Flexbox and Alignment](https://tyrogeek.hashnode.dev/css-flex-flexbox-and-alignment?utm_source=hashnode&utm_medium=feed)

Flex It is used to fit the item in the space available in the flex container. #flex-container { display: flex; font-family: Consolas, Arial, sans-serif; } flex-basis: sets the initial main size of a flex item. flex-grow: it assigns the space to ...

Oct 17, 2023 · 3 min read · tyrogeek.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#flexbox](https://hashnode.com/tag/flexbox)
-   [#justify-content](https://hashnode.com/tag/justify-content)
-   [#flex-css](https://hashnode.com/tag/flex-css)
-   [#computer-science](https://hashnode.com/tag/computer-science)

## Written by

[devansh verma](https://hashnode.com/@devansh711)

@devansh711

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

Tech!! Just for you

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
