Created
October 19, 2016 09:09
-
-
Save ralexandr/1f680632f79076de7d9fbd688f19a9ee to your computer and use it in GitHub Desktop.
SASS: Init hardware acceleration
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
@mixin hardware($backface: true, $perspective: 1000) { | |
@if $backface { | |
backface-visibility: hidden; | |
} | |
perspective: $perspective; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment