Enabling Perspective CSS Transformation in Chrome?
1 answer
It is generally best placed perspective
on a containing element such as body
or a wrapper div
.
Demo: http://jsfiddle.net/amustill/Qh8YV/
body {
-webkit-perspective: 500px;
-moz-perspective: 500px;
}
div {
...
-webkit-transform: rotateX(45deg);
-moz-transform: rotateX(45deg);
}
+4
source to share