Skip to content

Instantly share code, notes, and snippets.

@jasonweng
Created October 11, 2012 06:23
Show Gist options
  • Save jasonweng/3870560 to your computer and use it in GitHub Desktop.
Save jasonweng/3870560 to your computer and use it in GitHub Desktop.
css3 button
.admin-mode-slider
height: 24px
margin-left: 10px
background-color: #555
@include border-radius(6px)
position: relative
@include box-shadow(0 0 6px 0 hsla(0, 0%, 0%, 0.25))
.overlay
position: absolute
top: 0
left: 0
@include box-shadow(0 0 6px -2px hsla(0, 0%, 0%, 0.85), inset 0 -2px 6px -1px #fff)
background-color: #d7d7d7
@include linear-gradient(#d7d7d7, #b7b7b7)
height: 24px
width: 37px
@include border-radius(6px)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment