Question: Is there a way to reveal elements diagonally?
I have some images I would like to reveal coming from the top middle of the screen to the lower right using a diagonal reveal. Is this possible using scrollreveal?
This has come up before as a feature request (#123), but it's currently not possible.
4.0 is launching soon, and I don't think any new features will make it into that release.
That said, I did just take a quick look at how this could be implemented, and it doesn't seem too bad. I like the idea, so I‘ll take a second look at this for a 4.1 release in early 2018.
Thanks @atlas24
Agreed, that and a simple horizontal option would be great.
Would you explain more of what you have in mind @SRTM?
@jlmakes Currently, when you use options.distance, that only alters the vertical distance (y-axis) of an element. It would be great if you could also alter the horizontal distance (x-axis).
For example, having elements fade in from the left or right, rather than up or down. Usually I have to rely on adding a separate custom css animation for that.
Thanks :)
@SRTM Check this out