Cover Block – “contain” instead of “cover” on mobile
-
Hello,
I would like the image in the Cover block to keep its aspect ratio regardless of screen size, instead of cutting off the way it does right now on mobile.
Here are two images depicting what it looks like right now.
I’ve read there is a value in CSS calledcontain
and it seems to do what I want it to. However I have no clue how to incorporate this properly.
Thanks a lot,
have a wonderful rest of your day ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cover Block – “contain” instead of “cover” on mobile’ is closed to new replies.