Permalink
Browse files

firefox still needs some prefix

  • Loading branch information...
yyx990803 committed Mar 5, 2013
1 parent b4cc7b7 commit 00a714986fe3f909b6c8acd8041e6f46ee2ceafe
Showing with 10 additions and 3 deletions.
  1. +1 −1 css/style.css
  2. +9 −2 css/style.less
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -13,36 +13,43 @@
.perspective (@vars) {
-webkit-perspective: @vars;
+ -moz-perspective: @vars;
perspective: @vars;
}
.perspective-origin (@vars) {
-webkit-perspective-origin: @vars;
+ -moz-perspective-origin: @vars;
perspective-origin: @vars;
}
.transform (@vars) {
-webkit-transform: @vars;
+ -moz-transform: @vars;
transform: @vars;
}
.transform-style (@vars) {
-webkit-transform-style: @vars;
+ -moz-transform-style: @vars;
transform-style: @vars;
}
.transition (@vars) {
-webkit-transition: -webkit-transform @vars;
+ -moz-transition: -moz-transform @vars;
transition: transform @vars;
}
.transition (@vars, @extra) {
-webkit-transition: -webkit-transform @vars, @extra;
+ -moz-transition: -moz-transform @vars, @extra;
transition: transform @vars, @extra;
}
.transform-origin (@vars) {
-webkit-transform-origin: @vars;
+ -moz-transform-origin: @vars;
transform-origin: @vars;
}
@@ -342,7 +349,7 @@ html, body {
.dummy-item {
z-index: -1;
- .perspective(400);
+ .perspective(400px);
.transition(opacity .15s ease);
&.top {
@@ -365,7 +372,7 @@ html, body {
}
.unfold-dummy {
- .perspective(400);
+ .perspective(400px);
.inner {
.transform-style(preserve-3d);
.transition(.3s @ease);

0 comments on commit 00a7149

Please sign in to comment.