Jump to content
Search Community

Issue with 3d transform + text

s3n3r test
Moderator Tag

Go to solution Solved by Diaco,

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

  • Solution

Hi s3n3r  :)


i can't test that on Safari right now , but if i understood correctly , seems there's a solution :


pls add this to your #img-wrapper css :


  -webkit-transform :scale(1,1);
      -ms-transform :scale(1,1);
          transform :scale(1,1);


  -webkit-transform :translateZ(0px);
          transform :translateZ(0px);


  • Like 2
Link to comment
Share on other sites

Nice catch Diaco! To add to Diacos great advice...


Since you will not be using z (translateZ) and setting it to zero (0) .. then there is really no need to use the CSS perspective  property.

// you can comment out this line since you will not be using translateZ (z)
// TweenMax.set($('body'), {perspective:500});

Since perspective  calculates the distance between the z-axis of zero (0) and the user, in order to give the element that 3D perspective look.



W3C The Transformation Functions (perspective) : http://www.w3.org/TR/2009/WD-css3-3d-transforms-20090320/#transform-functions



  • Like 2
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...