Permalink
Browse files

Add a mixin for controlling the perspective for 3D transforms.

  • Loading branch information...
1 parent c59153f commit 14a2cd27dd229f6591cc2117e7fa20f42abb0ac9 unaffectedscorn committed Oct 3, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 app/assets/stylesheets/_bourbon.scss
  2. +4 −0 app/assets/stylesheets/css3/_perspective.scss
View
1 app/assets/stylesheets/_bourbon.scss
@@ -25,6 +25,7 @@
@import "css3/inline-block";
@import "css3/linear-gradient";
@import "css3/prefixer";
+@import "css3/prefixer";
@import "css3/radial-gradient";
@import "css3/transform";
@import "css3/transition";
View
4 app/assets/stylesheets/css3/_perspective.scss
@@ -0,0 +1,4 @@
+@mixin perspective($depth: none) {
+ // none | <length>
+ @include prefixer(perspective, $depth, $o: true;);
+}

0 comments on commit 14a2cd2

Please sign in to comment.