Skip to content

Instantly share code, notes, and snippets.

View visnaut's full-sized avatar

Ricardo Pereira visnaut

View GitHub Profile
@visnaut
visnaut / dabblet.css
Created March 31, 2012 02:19
Baseline Grid
/**
* Baseline Grid
*
* A Baseline Grid in the browser to aid with column-based layouts and vertical rhythm.
*
* Built entirely with CSS3 gradient patterns, set in em units.
* Scales with users' default text size.
*
* Combines the concepts outlined here:
* http://www.teehanlax.com/blog/designing-faster-with-a-baseline-grid/
@visnaut
visnaut / yepnope-ga.js
Created May 11, 2012 15:45
Load Google Analytics Asynchronously via yepnope.js (Modernizr.load)
/**
* Using Google Analytics & yepnope.js (Modernizr.load) in the same project?
* Replace Google's default snippet with the code below to load and initialize GA asynchronously.
*
* Don't forget to copy and paste your full web property ID.
*
* If you use Modernizr:
* 1. Build with the Modernizr.load build option:
* http://modernizr.com/download/#-load
* 2. Replace 'yepnope' below with 'Modernizr.load'

Keybase proof

I hereby claim:

  • I am visnaut on github.
  • I am visnaut (https://keybase.io/visnaut) on keybase.
  • I have a public key whose fingerprint is 7B41 D539 76C5 9F30 69B9 EB75 8DB0 7849 C7DB D90C

To claim this, I am signing this object: