+ 2
What is the difference between max/min- width and width,max/min-height and height?
because when I see the output between them it definitely the same in px..
5 ответов
+ 6
So:
max / min - width * height
or
max / min - height * height ?
If we are talking about a square, where the width and height are equal then there is no difference.
Otherwise, we need to know what max or min represent in order to answer this question.
Generally speaking (though this should be obvies), one is being subtracted by the width and height, and the other is being subtracted by the height squared.
+ 6
here is an example for dom to understand changing widths
https://code.sololearn.com/Wk8Wgk17wM98/?ref=app
we use max and min for one reason : to fit what se made in a screen mostly for mobile devices.
but you may need it for any reason which deponda on your needs
+ 5
you are welcome
+ 2
did you mean by margin, border , padding etc ?
css also use % for measurement
+ 1
okayy, thank you!