Created
April 29, 2013 12:59
-
-
Save mlabod/5481434 to your computer and use it in GitHub Desktop.
Vendor aware stylus mixins
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
vendor(prop, args) | |
for prefix in vendors | |
if prefix == official | |
{prop}: args | |
else if transform in args | |
-{prefix}-{prop}: '-%s-%s' % (prefix args) | |
else | |
-{prefix}-{prop}:args |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment