Jump to content
Search Community

What is perspective ?

cpshop test
Moderator Tag

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

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

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.
×
×
  • Create New...