Created
August 8, 2014 13:37
-
-
Save robertlyall/1a9e5c8e20363057bbae to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
| <a class="button" href="javascript: void(0)">Button</a> |
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
| // ---- | |
| // Sass (v3.3.14) | |
| // Compass (v1.0.0.rc.1) | |
| // ---- | |
| body { | |
| font-family: 'Helvetica Neue', sans-serif; | |
| } | |
| $pink: #f62f62; | |
| $white: #ffffff; | |
| .button { | |
| background: $pink; | |
| color: $white; | |
| display: inline-block; | |
| font-weight: 500; | |
| padding: .75em 1.5em; | |
| text-decoration: none; | |
| &:hover { | |
| background: lighten($pink, 10%); | |
| } | |
| &:active { | |
| background: darken($pink, 10%); | |
| } | |
| } |
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
| body { | |
| font-family: 'Helvetica Neue', sans-serif; | |
| } | |
| .button { | |
| background: #f62f62; | |
| color: white; | |
| display: inline-block; | |
| font-weight: 500; | |
| padding: .75em 1.5em; | |
| text-decoration: none; | |
| } | |
| .button:hover { | |
| background: #f86087; | |
| } | |
| .button:active { | |
| background: #e80a43; | |
| } |
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
| <a class="button" href="javascript: void(0)">Button</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment