Home › Forums › CSS › Image height when resize › Reply To: Image height when resize
July 3, 2017 at 1:13 am
#256408
Participant
I could solve your problem with the following solution:
Set display: flex;
on the DIV with class profile-area
, set height: 100%;
on the UL with class photo-profile
, set height: 100%;
on .photo-profile li
and change the max-height
property on .photo-profile li img
to max-height
.
You’ll probably have to do something with media queries to only do this on the larger screens.