Created
February 20, 2014 13:55
-
-
Save laurend/9114086 to your computer and use it in GitHub Desktop.
Revisions
-
Lauren Dreier created this gist
Feb 20, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ <div class="green">Home</div> <div class="gray"></div> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ // ---- // Sass (v3.3.0.rc.4) // Compass (v1.0.0.alpha.18) // ---- $green: #1eb478; $green-dark: darken($green, 4); $gray: #6a737b; $gray-dark: darken($gray, 4); div { width: 12em; height: 3em; transition: background-color 50ms ease-in-out; color: white; text-align: center; line-height: 3em; text-transform: uppercase; font-family: "bentonsans"; font-weight: bold; -webkit-font-smoothing: antialiased; letter-spacing: .03em } .green { background-color: $green; &:active { background-color: $green-dark; } } .gray { background-color: $gray; &:active { background-color: $gray-dark; } } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ div { width: 12em; height: 3em; transition: background-color 50ms ease-in-out; color: white; text-align: center; line-height: 3em; text-transform: uppercase; font-family: "bentonsans"; font-weight: bold; -webkit-font-smoothing: antialiased; letter-spacing: 0.03em; } .green { background-color: #1eb478; } .green:active { background-color: #1ba36c; } .gray { background-color: #6a737b; } .gray:active { background-color: #616970; } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ <div class="green">Home</div> <div class="gray"></div>