Skip to content

Instantly share code, notes, and snippets.

View scottdavis's full-sized avatar

Scott Davis scottdavis

View GitHub Profile
@scottdavis
scottdavis / SassMeister-input-HTML.html
Created November 13, 2013 15:41 — forked from benjamincharity/SassMeister-input-HTML.html
Generated by SassMeister.com.
<div class="icon"></div>
@scottdavis
scottdavis / config.rb
Created February 23, 2012 17:22 — forked from warthurton/config.rb
Octopress config.rb
# Require any additional compass plugins here.
project_type = :stand_alone
# Publishing paths
http_path = "/"
http_images_path = "http://cdn.warthurton.com/images"
http_fonts_path = "http://cdn.warthurton.com/fonts"
css_dir = "public/stylesheets"
# Local development paths
@scottdavis
scottdavis / cross-browser-rgba-mixin.scss
Created January 1, 2012 06:58 — forked from philippbosch/cross-browser-rgba-mixin.scss
image-less RGBA backgrounds for real browsers and Internet Explorer
@mixin rgba-background($color, $opacity) {
background-color: $color;
background-color: rgba($color, $opacity);
background-color: transparent\9;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))},endColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))});
zoom: 1;
}