Changing the page size of the site by media query in CSS

If I want to change the shape of a website page with a width and height of 600px and change its shape. Which one should I use?
Max width/height
Min width/height.

I hope you can help me in this matter that I asked about media query in css

>Solution :

A maximum width can be specified for elements using the max-width property.

When we don’t want the width of an element to exceed a certain value, we can use this feature to determine that value for the element.

By using the min-width and max-width properties, you can set a range for the width of an element.

Leave a Reply