A Pen by Chris Coyier on CodePen.
Created
September 28, 2016 22:13
-
-
Save chriscoyier/ab1a8052f9404a17118366a78e6685fd to your computer and use it in GitHub Desktop.
mAwodR
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 button($bg, $color, $size) { | |
background-color: $bg; | |
color: $color; | |
@if ($size == "large") { | |
font-size: 2em; | |
padding: 2em; | |
} @else if ($size == "medium") { | |
font-size: 1.5em; | |
padding: 1.5em; | |
} @else { | |
font-size: 1em; | |
padding: 1em; | |
} | |
} | |
$red: red; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment