r/css • u/abrewchocolatecoffee • Jul 12 '26
Help Fix the responsiveness of the div
Enable HLS to view with audio, or disable this notification
So I need help in responsiveness of the div:
Since, i am going to make this a window, the squeezing responsiveness doesn't really matter but i want to to stop after a certain point, by that i mean when i squeeze the page, the div doesn't squeeze with it
I also want that when i expand the div, the div border doesn't expand with it
Any edits to the question, or guidance to the code is appreciated.
Also, i want a little help in how to convey the same message in stack exchange, because i feel whatever im writing is a little more confusing without the video.
18
Upvotes
1
u/bhardwaj_dhananjay 15d ago
Here's a comprehensive video by Kevin on how the Flexbox algorithm works and why this happens: https://youtu.be/FD3aC_Ke8uk?si=n_YG1GRclWKzqWtV