Created
August 21, 2019 13:38
-
-
Save makingthingswork/e29f65c297f88aba3c74d1b68b4b60a1 to your computer and use it in GitHub Desktop.
Size shortcut mixin
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
//One value will create square as $height is set to $width | |
@mixin size($width, $height: $width) { | |
width: $width; | |
height: $height; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment