Created
November 2, 2016 15:41
-
-
Save billsuxx/7bcfbd5351e59e3a725df1c132e62502 to your computer and use it in GitHub Desktop.
generateCssProperty with less
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
.generateCssProperty(@property,@value,@valueMobile,@breakpoint: 'sm') { | |
@mediaquery: 'screen-@{breakpoint}'; | |
-:~";@{property}: @{value};"; | |
@media(max-width: @@mediaquery) { | |
-:~";@{property}: @{valueMobile};"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment