+ 1
Width in css
Can anyone explain the difference between width,max-width. And min-width?? I don’t get them
5 Respuestas
+ 2
Let's say you have a div which, width = 80vw (80% of screen width)
Then you can specify a minimum width, meaning the div will not be able to shrink below this minimum width.
Same principle apply to max width
+ 2
See min width and max width as boundaries width can not exceed
+ 1
Nope
0
and for the width it can shrink and exceed both??
0
so what???