The perspective property takes a length value, so it should always have units. Some browsers may indicate pixels as a unit if a unit is not specified, but you should always specify. Also note that larger perspective values ββresult in a less dramatic perspective effect.
Also, be sure to add properties to the unprefixed version. This should happen after the prefix version and, as Tim Nguyen said, will check your application in the future, as browsers stop requiring the prefix.
Aside, transform-style: preserve-3d; it is necessary to point out the elements whose children are transformed in three-dimensional space, therefore nothing is done here.
Jared khan
source share