Skip to content

Instantly share code, notes, and snippets.

@ColemanCollins
ColemanCollins / _base.scss
Last active July 30, 2021 02:44
Output of Susy spiking
// ---------------------------------------------------------------------------
// Imports
@import "susy";
// ---------------------------------------------------------------------------
// Basic (mobile) Grid
$total-columns : 4;
$column-width : 5em;
@ColemanCollins
ColemanCollins / Progress.Haml
Created October 25, 2012 18:40
Extra Progress Bar Haml and CSS
//this is the haml structure—make sure you replace COUNTER VARIABLE with the actual variable.
#progress.gray
#progress-outer
#progress-inner{style: "height: 100%; width: #{ (5) + ((COUNTER VARIABLE / 200) * 95) }% ;"}
.count= COUNTER VARIABLE
.goalcount="2,000"