Jump to content
GreenSock

cpshop

What is perspective ?

Moderator Tag

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.
×