Jump to content
GreenSock

cpshop

What is perspective ?

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

I don't understand what the effects of perspective in TweenLite.set function.Explain me, please!.And i find method perspective where???.Thanks you

Exp:

TweenLite.set("#quote", {perspective:400});

 

Link to comment
Share on other sites

Hi cpshop :)

 

Welcome to the GreenSock forums.

 

I think this blog post can help you. Lots of great info about perspective:

 

http://greensock.com/css3/

 

Happy tweening.

:)

  • Like 2
Link to comment
Share on other sites

Hello cpshop,

 

Also here are some helpful links on CSS perspective. This way you can understand how they work in CSS

 

perspective():
 

CSS perspective property: Applies to the immediate children you have this property on.

https://developer.mozilla.org/en-US/docs/Web/CSS/perspective

 

transform perspective:
 

CSS perspective() function within the transform property: Applies to the element it is applied on.

https://developer.mozilla.org/en-US/docs/Web/CSS/transform

 

Using CSS Transforms: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transforms/Using_CSS_transforms

 

:)

  • Like 4
Link to comment
Share on other sites

Hi cpshop  :)

 

Welcome to the GreenSock forums.

 

I think this blog post can help you. Lots of great info about perspective:

 

http://greensock.com/css3/

 

Happy tweening.

:)

It's  useful fo me. Thanks so much

Link to comment
Share on other sites

Its very usaful for me. Thanks so much :-P

 

  • Like 1
Link to comment
Share on other sites

The lower the perspective value is, the more dramatic the FOV becomes. Basically, if perspective is high enough, it may as well be 0.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×