Arif
Arif

Reputation: 966

Why CSS3 perspective is not working in firefox

I am trying to create a 3d flipcard . But perspective property is not working in firefox v21 .

see the code http://codepen.io/prantor19/pen/cgoKm

can you explain why?

Upvotes: 4

Views: 5048

Answers (2)

Kevin
Kevin

Reputation: 1

-webkit-perspective:600;

-webkit-perspective:600px;

perspective:600px;

'perspective:600px;' is ok in chrome,but 'perspective:600;' has wrong with it.

Upvotes: 0

Mohammad Masoudian
Mohammad Masoudian

Reputation: 3501

you forgot px after perspective value!!

like this:

  -webkit-perspective:600px;
  -moz-perspective:600px;
  perspective:600px;

Upvotes: 13

Related Questions