Skip to content

Instantly share code, notes, and snippets.

@hdc
hdc / Markup
Created December 11, 2012 20:10
Trying to get grid classes back from susy depending on the type of grid
<!-- Set up the container to have 8 columns -->
<section class="row-8">
<div class="columns-6">
<!-- Needs to inherit the width of the 6 col container -->
<div class="columns-4">
...Content
</div>
<div class="columns-2">
...Content
</div>
@hdc
hdc / flexslider issue
Created November 26, 2012 17:25
flexslider issue: colorChips li are loading with a 1px width
<script type="text/javascript">
$(window).load(function() {
$('.flexslider').flexslider({
namespace: "chip-",
selector: ".colorChips > li",
controlsContainer: ".colorOptions",
animation: "slide",
animationLoop: false,
controlNav: false,
itemWidth: 40,
@hdc
hdc / _grid.sass
Created July 10, 2012 00:39
susy grid mixin
//-----------------------------------------------------------------------------
// Imports
@import compass
@import susy
//-----------------------------------------------------------------------------
// Grid Settings