Last active
December 23, 2015 13:48
-
-
Save lukewatts/772e324ae37c9bf0bd38 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
| .transform-me | |
| | Transform me! |
This file contains hidden or 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
| // ---- | |
| // Sass (v3.4.20) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @import compass | |
| .transform-me | |
| border: 2px solid red | |
| width: 10em | |
| line-height: 10em | |
| text-align: center | |
| +rotate | |
| +transform-origin(top, left) |
This file contains hidden or 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
| .transform-me { | |
| border: 2px solid red; | |
| width: 10em; | |
| line-height: 10em; | |
| text-align: center; | |
| -moz-transform: rotate(45deg); | |
| -ms-transform: rotate(45deg); | |
| -webkit-transform: rotate(45deg); | |
| transform: rotate(45deg); | |
| -moz-transform-origin: top left; | |
| -ms-transform-origin: top left; | |
| -webkit-transform-origin: top left; | |
| transform-origin: top left; | |
| } |
This file contains hidden or 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
| <div class="transform-me">Transform me!</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment