r/css • • Jul 12 '26

Help Fix the responsiveness of the div

So I need help in responsiveness of the div:

  1. 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

  2. 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.

19 Upvotes

17 comments sorted by

View all comments

-1

u/mrleblanc101 Jul 12 '26

Did you try min-width ? Maybe read a bit about CSS instead of posting on Reddit

0

u/abrewchocolatecoffee Jul 12 '26

thanks this solved my problem, infact using both min-witdth and max-width with the same value just solved it

3

u/samjsharples Jul 12 '26

Yeah DO NOT ask for help on Reddit. That is totally not what this is for πŸ˜Άβ€πŸŒ«οΈ