留言板 留言板

返回

Locking an image in place

触发器
Locking an image in place
答复
19-3-22 下午7:02
Hello!  
I'd like to lock an image in place so as the user scrolls, the image is still visible.  Is this possible?
Thanks! 
0 (0 票)

RE: Locking an image in place
答复
19-3-25 下午5:41 回复Scott Sheridan。
Hi Scott,
Thanks for posting this.  This is one of the features of the 4.4 release!  It's the Offset From - Float property.  https://www.screencast.com/t/ZzuVsRLA8iA

The functionality that we saw is a little more complex - the image moves a little, and then once you scroll down farther, it doesn't move along with the page.  I'm not sure if we can simulate that portion.  I think it either floats, or it doesn't.

Also, there is currently a bug in Safari (which, if you're on a Mac, is what is used to preview) where it doesn't float in Preview.  We're working on resolving that, but at the moment, if you publish, it should work in other browsers.

- Nav
0 (0 票)