Skip to content

Instantly share code, notes, and snippets.

@parrfolio
Created May 18, 2011 16:38
Show Gist options
  • Select an option

  • Save parrfolio/978955 to your computer and use it in GitHub Desktop.

Select an option

Save parrfolio/978955 to your computer and use it in GitHub Desktop.
-webkit-transform-style: preserve-3d & flat
/* preserve-3d allows objects to live in a shared 3D space */
#example {
-webkit-transform-style: preserve-3d;
}
/* flat is just a painting effect and not effected by the containers perspective */
#example:hover {
-webkit-transform-style: flat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment