Created
July 28, 2011 21:28
-
-
Save rnmp/1112610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@for $n from 1 through 7 | |
#plantilla-#{$n} | |
:left 7em*$n | |
:-webkit-transform rotate(10deg*$n/(1.61803399*$n*$n)) |
For some reason, the old syntax feels more natural to me. But I didn't know it was considered old. Does it affects the performance?
Don't think so, but it's been deprecated so one day support for it might drop and you'd have to update all your codes :(
Oh, crap. Thanks for the update then. :B
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good stuff! Here's how it would look if you used the Compass rotate helper. Also note the location of the colon. You are using the OLD Sass syntax.
... with this as the output: