Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
xdsantana

Slide Transition (Sweep Screen from Right to Left)

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello Everyone!

 

I encountered a problem for which I can not find a solution. I would like to make the transition from one slide to another, something very similar to CSS clip. The problem is that I need a diagonal bar to sweep the screen from right to the left, showing the content that lies beneath. Does anyone have any idea on how to achieve that?

 

I have attached a picture that might explain a little bit better what I am trying to do.

 

Any help is very much appreciated!

post-42584-0-73695800-1463647633_thumb.png

Share this post


Link to post
Share on other sites

Rotate the box by n degree. Rotate it's content by -n degree. Enlarge the box to show all the content. Clip the box straight with clip: rect(

 

It's an ugly workaround but supported by all the crappy browsers.

 

http://www.bannerhost.hu/toyota/aftersales/728x90/

Thank you so much for the reply! I guess that is what I am going to do... I think it's unfortunately the only way! Thanks :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 


  • Recently Browsing   0 members

    No registered users viewing this page.

×