Added a mixin for controlling the perspective on 3D transformations #124

Closed
wants to merge 1 commit into from

2 participants

@maxbucknell

As per The MDN page on perspective, I added a mixin and amended the include file.

@plapier plapier commented on the diff Oct 12, 2012
app/assets/stylesheets/_bourbon.scss
@@ -25,6 +25,7 @@
@import "css3/inline-block";
@import "css3/linear-gradient";
@import "css3/prefixer";
+@import "css3/prefixer";
@plapier
plapier added a note Oct 12, 2012

Remove this. No need to import it twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@plapier

Thanks for the pull request. We should also create a mixin for the perspective-origin property: https://developer.mozilla.org/en-US/docs/CSS/perspective-origin

@plapier plapier was assigned Dec 5, 2012
@plapier

This has been integrated fully into Bourbon v3.0. Thanks @unaffectedscorn for the pull request!

https://github.com/thoughtbot/bourbon/blob/master/app/assets/stylesheets/css3/_perspective.scss

@plapier plapier closed this Dec 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment