Created
October 26, 2011 09:28
-
-
Save jaacob/1315875 to your computer and use it in GitHub Desktop.
v1 of a braun-esque button
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
nav ul li { | |
list-style-type: none; | |
display: block; | |
float: left; | |
margin-left: 4.8em; | |
text-align: center; | |
width: 70px; | |
height: 70px; | |
border-radius: 35px; | |
// external bit | |
@include linear-gradient(top, rgba(183,183,183,1) 0%, rgba(235,235,235,1) 100%); | |
@include box-shadow(0 2px 1px #FFF, inset 0px 1px 0 rgba(0,0,0,.1)); | |
span { | |
width: 54px; | |
height: 54px; | |
display: block; | |
margin: 8px auto 0; | |
border-radius: 27px; | |
@include linear-gradient(top, rgba(0,0,0,.1) 0%, rgba(255,255,255,.1) 100%); | |
@include box-shadow(0 6px 5px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.9)); | |
} | |
span:before { | |
content: ''; | |
width: 56px; | |
height: 56px; | |
display: block; | |
position: relative; | |
right: 2px; | |
bottom: 3px; | |
border-radius: 29px; | |
@include box-shadow(0 2px 0 rgba(255,255,255,.8), inset 0 0 3px rgba(0,0,0,.7)); | |
border: 1px solid #6F6F6F; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uses thoughtbot's bourbon