---
title: "Discussion on \"Stop using min height/width for flex items: Understand flexbox\" | Hashnode"
description: "Discussion on \"Stop using min height/width for flex items: Understand flexbox\". Introduction\nInstead of using tricks when working with flexbox, why not take the time to learn it?\nBy tricks, I mean things like applying min-height to flex items because height doesn't work.\nThat's what we'll do in this post. If you've used flexbox ..."
url: "https://hashnode.com/posts/stop-using-min-heightwidth-for-flex-items-understand-flexbox/66783807be39994451e4055c"
---

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

Discussion

# [Stop using min height/width for flex items: Understand flexbox](https://tigerabrodi.blog/stop-using-min-heightwidth-for-flex-items-understand-flexbox?utm_source=hashnode&utm_medium=feed)

Introduction Instead of using tricks when working with flexbox, why not take the time to learn it? By tricks, I mean things like applying min-height to flex items because height doesn't work. That's what we'll do in this post. If you've used flexbox ...

Jun 23, 2024 · 6 min read · tigerabrodi.blog  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#ui](https://hashnode.com/tag/ui)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses 1

Markdown supported · ⌘↵ to post

[Mohtasim Howlader](https://hashnode.com/@mhowlader)

[Aug 25, 2025](https://hashnode.com/posts/stop-using-min-heightwidth-for-flex-items-understand-flexbox/66783807be39994451e4055c/comment/68ace1967db3735a1b1b30d3)

what if you want a flex item that doesn't grow past the fixed size of the parent but the item should overflow. min-height:0 gets the job done, flex-basis: 0 doesn't accomplish that.
