Currently, I am working on making my web page responsive for four different screen sizes (320px, 640px, 980px, and 1024px). Everything looks great and adapts well when I resize the site up to 1024px. However, once the size goes beyond that, I want to prevent any further resizing and maintain the layout as it appears at 1024px. I've tried searching online for a solution but haven't had any luck. Can someone please assist me with this issue? Thank you!
P.S.
I came across suggestions to use the max-width
property, but unfortunately, that didn't work for me.
For defining sizes, I am currently using vw
units.