Last active
December 17, 2015 00:49
-
-
Save Dare-NZ/5523537 to your computer and use it in GitHub Desktop.
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
//First version | |
.pv(@p,@v) { | |
@{p}:@{v} | |
} | |
//Second version | |
.pv(@p,@v) { | |
-:~`";@{p}:@{v}".replace(/'/g,"")`; | |
// -:~`";@{p}:@{v}".replace(/'/g,"")`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This LESS snippet lets you use a .pv(@p,@v) class to set a property with a value.
First version:
Second version: