Skip to content

Instantly share code, notes, and snippets.

@laurend
Created February 25, 2014 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laurend/9216313 to your computer and use it in GitHub Desktop.
Save laurend/9216313 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div><span>[]&nbsp;&nbsp;View cart</span></div>
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
@import "compass";
$white: #fff;
$black: #001e1e;
$gray-dark: #6a737b;
$gray-dark-accent: #5e666d;
$gray-med: #a19a94;
$gray-light: #b7b1a9;
$off-white: #faebdc;
$red: #e92225;
$red-dark: #a02323;
$green: #1eb478;
$green-accent: darken($green, 5);
$yellow: #ffdc00;
body {
-webkit-font-smoothing: antialiased;
}
div {
@include inline-block;
@include border-radius(0.1875em);
font-family: bentonsans-bold;
border: 1px solid $green-accent;
line-height: 2.25em;
height: 2.25em;
padding: 0 .75em;
color: white;
background: $green;
&:active {
background: $green-accent;
}
span {
@include single-text-shadow(1px, 1px, 1px, false, transparentize($black, .6));
font-size: .875em;
}
}
body {
-webkit-font-smoothing: antialiased;
}
div {
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
*zoom: 1;
*display: inline;
-moz-border-radius: 0.1875em;
-webkit-border-radius: 0.1875em;
border-radius: 0.1875em;
font-family: bentonsans-bold;
border: 1px solid #1a9e69;
line-height: 2.25em;
height: 2.25em;
padding: 0 .75em;
color: white;
background: #1eb478;
}
div:active {
background: #1a9e69;
}
div span {
text-shadow: 1px 1px 1px rgba(0, 30, 30, 0.4);
font-size: .875em;
}
<div><span>[]&nbsp;&nbsp;View cart</span></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment