Is it possible to shrink an element on scroll?

This is the only option given by VELO related to change image-sizing…(as i know).

https://www.wix.com/velo/reference/$w/image/fitmode