Skip to content

Instantly share code, notes, and snippets.

@mariofink
mariofink / Round(ed)-badges.markdown
Created February 18, 2014 13:58
A Pen by Mario Fink.
@mariofink
mariofink / dabblet.css
Created August 29, 2012 18:20
CSS3 transforms & transitions
/**
* CSS3 transforms & transitions
*/
body {
font-family: sans-serif;
}
.box {
background: #bada55;
border-radius: 1em;
width: 15em;
@mariofink
mariofink / CSS3 gradient button
Created October 12, 2011 12:33
COMPASS mixin: CSS3 gradient button
@import "compass/reset";
@import "compass/css3";
@mixin gradientButton($baseColour: #eee, $textColour: #333) {
$darker-1: darken($baseColour, 7%); /* ~#ddd */
$darker-2: darken($baseColour, 15%); /* ~#ccc */
$darker-3: darken($baseColour, 20%); /* ~#bbb */
$darker-4: darken($baseColour, 34%); /* ~#999 */
$active-1: darken($baseColour, 27%); /* ~#aaa */