Home › Forums › CSS › Image overflow revealed as text wrap causes element height to change › Reply To: Image overflow revealed as text wrap causes element height to change
January 8, 2019 at 1:57 pm
#281096
Beverleyh
Participant
That might be down to background-size: cover;
. Try changing it to the image width to see if that helps (still on mobile so restricted a bit in what I can test).
You might also want to set background-repeat: no-repeat;
and play around with the background-position
to pin it at the top (so the reveal happens from the bottom). Setting it to top
might be enough.