Skip to content

Instantly share code, notes, and snippets.

View bumlaser's full-sized avatar

Nick Beatty bumlaser

View GitHub Profile
//********************************************************
// plugin for equalizing heights, responsively
//********************************************************
(function ($) {
$.fn.eqHeights = function() {
var el = $(this);
if (el.length > 0 && !el.data('eqHeights')) {
$(window).on('resize.eqHeights', function() {
el.eqHeights();
});
@WhatIsHeDoing
WhatIsHeDoing / gist:3179370
Created July 25, 2012 23:38
Embedding and Using Custom Fonts with SASS
/*
* _mixins.scss
*/
$font_dir: '../fonts/';
/* _simple-font-url('Chunkfive', 'eot'); */
@function _simple-font-url($name, $extension)
{
@return url($font_dir + $name + '-webfont.' + $extension);