Created
September 28, 2012 08:14
-
-
Save trenkwill/3798592 to your computer and use it in GitHub Desktop.
SCSS : notification number
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
span { | |
$size: 25px; | |
$color:$green; | |
float:right; | |
font-size:$size/1.8; | |
line-height:$size; | |
font-weight:bold; | |
color:lighten($color, 60); | |
text-align:center; | |
display:inline-block; | |
background:$color; | |
border:solid 2px lighten($color, 60); | |
padding:0 7px; | |
height:$size; | |
@include box-shadow(0 0 4px rgba(0, 0, 0, .3)); | |
@include border-radius($size); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment