Why "min-height: 100%" + "max-height: 100%" not same as "height: 100%"

I have an <img object-fit="cover" /> within a <div> Why does { min-height: 100%; max-height: … Read more Why "min-height: 100%" + "max-height: 100%" not same as "height: 100%"

I have an <img object-fit="cover" /> within a <div>

Why does
{ min-height: 100%; max-height: 100% }
isn’t the same as a simple height: 100% ??

Source: CSS – Stack Overflow


Categories: NewsTags: , , ,

Tags: , , ,


Leave a Reply

Your email address will not be published. Required fields are marked *