Perspective rotation cropping

Hi,

Newbie here so please be gentle :slight_smile:

I’m testing things out and trying to have a very subtle perspective rotation on a full page image (which ultimately will be part of a carousel of images), which I’ve done and works just as expected…BUT! … I’m getting white borders along the edges when the image rotates. So rather than it using the available image outside the cropped area, it’s just rotating what’s initially in view.

I’m sure I’m missing something simple on how to fix this so it uses the overflow that’s available…any ideas?

Huge thanks in advance.

Here’s a link to the project share:
https://preview.webflow.com/preview/phils-blank-site-c8a709?utm_medium=preview_link&utm_source=designer&utm_content=phils-blank-site-c8a709&preview=9241bf8b87b39172fc2ab520545767b5&workflow=preview

And here’s a screen shot showing what i mean when the mouse is in the top left (and yes, the vast majority of those browser tabs are me trying to work this out :smile: )

(I can bodge it slightly in two ways but they raise issues I’m being picky about:

  1. Put the same image in the background with zero interaction. Then rotate the the image in the foreground with slight zoom. This unfortunately adds scroll bars which i don’t want.
  2. Put the same image in the background with zero interaction. This time, reducing the size of the container around the rotating element and rotating that. That unfortunately doesn’t scale perfectly at different screen sizes and can make the background image noticeable around the edges.)