Created
May 20, 2012 15:25
-
-
Save machida/2758501 to your computer and use it in GitHub Desktop.
mixinのsample
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
| =blue_button | |
| text-align: center | |
| display: block | |
| font-family: Arial, Helvetica, sans-serif | |
| font-size: 14px | |
| color: #ffffff | |
| line-height: 30px | |
| width: 80px | |
| background: -moz-linear-gradient(top, #5779ff 0%, #3254cf) | |
| background: -webkit-gradient(linear, left top, left bottom, from(#5779ff), to(#3254cf)) | |
| border-radius: 30px | |
| -moz-border-radius: 30px | |
| -webkit-border-radius: 30px | |
| border: 1px solid #454bc9 | |
| -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4), inset 0px 0px 2px rgba(206, 204, 255, 1) | |
| -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4), inset 0px 0px 2px rgba(206, 204, 255, 1) | |
| text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(255, 255, 255, 0.3) | |
| header | |
| .login | |
| ul | |
| li | |
| a | |
| +blue_button | |
| article | |
| ul.buttons | |
| li | |
| a | |
| +blue_button | |
| float: left |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment