+ 2
Hi, everyone! Why do we set the Min and Max width of an element in CSS
CSS
4 Respostas
+ 4
To fit our page on different screen size of platform like mobile, tablets, computers etc.
+ 4
We fixing the boundary of elements so those elements can't go beyond the it's boundary.
+ 1
Min width/min height of a div means it should not be less then the given width/height but when the elements increase and does not get fit in then it can increase the width/height. Overall it makes a div flexible.
0
Because you are make website for all different screen size such as tablets, laptop, mobile and computers etc. To fit your website page to use min and Max width in CSS.
You can also use to RWD.