Streaming live at 10am (PST)

Cover divblock with an image

Hi

Is it possible to cover a divblock with an image without using the image as background but having the image inside the divblock and achieving the same result?

I want the grid to be two squares next to each other that’s why i gave a min hight of 50vw and I set that to min. because when the text is too long then the grid will stretch so it won’t crop the text.

Here is a test: https://giuseppe-bufalo.webflow.io/test

Thanks,
G


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Can you explain a little bit more what you’re trying to achieve here please? Maybe a screenshot or an example would do.

Hello There @Giuseppe!

I’m not aware of how proficient you are with custom CSS, but here’s a link for what you are trying to achieve. If you need help implementing it, let me know:

https://www.w3schools.com/css/css3_object-fit.asp

Thank you, I’ve also found another post that mentioned that custom CSS. Although I found a solution without using a code.

Thanks,
G

1 Like