Skip to content

Instantly share code, notes, and snippets.

@edwardoriordan
edwardoriordan / gist:943374
Created April 26, 2011 22:57
Two ways for making sharing styles with IE
@mixin do_layout() {
//stuff for a middle layout
}
@media only screen and (min-width: 768px) {
@include do_layout();
}
body.ie {
@include do_layout();
@edwardoriordan
edwardoriordan / tutorial.mkdn
Created August 22, 2011 22:20 — forked from mirisuzanne/tutorial.mkdn
A new Susy tutorial

Susy Tutorial

For this tutorial I'm assuming you are already comfortable with CSS, Sass (I'll use the SCSS syntax) and Compass. Please get set up with each one of those before attempting to use Susy. Sass and Compass both have their own setup instructions and tutorials that you can use.

What Susy Does

CSS Systems

@edwardoriordan
edwardoriordan / SassMeister-input.scss
Created May 13, 2013 12:47
Generated by SassMeister.com, the Sass playground.
// ---
// Sass (v3.2.9)
// ---
#foo {
$width: 100px;
width: $width;
background-position: ($width - 20px) center;
}
@edwardoriordan
edwardoriordan / SassMeister-input.scss
Created August 19, 2014 18:10
Generated by SassMeister.com.
// ----
// Sass (v3.4.0)
// Compass (v1.0.0)
// SassyJSON (v1.1.8)
// ----
@import "SassyJSON";
@mixin eq($add) {