Streaming live at 10am (PST)

How to crop a dynamic images with css grid


#1

I cant figure out how to have the image that covers everything in a grid and dose not stretch or narrow. i know with dive blocks you can change the background that way but what about dynamic images.

Im trying to do that on the bottom of my main page
https://preview.webflow.com/preview/realestate-bdc930?utm_source=realestate-bdc930&preview=42e876997b1bc1a43131b82e90be6f8a


#2

Hi Vlad_Kuksenko,

It’s easy:

  • add an embed inside your grid (you can set it to display:none, right after)
  • paste the following into the embed:

Done!