Skip to content

Instantly share code, notes, and snippets.

View allboyshatebras's full-sized avatar

allboyshatebras

View GitHub Profile
@allboyshatebras
allboyshatebras / jquery.CSSelection.js
Created October 20, 2010 19:01
Useful for manipulating CSS
(function($) {
var rules = [], stylesheets = [], createCount = 0;
/**
* Given a scope (typically $(document)) all sheets are scanned until requested rule is found
*
* @author Adam Yanalunas
* @since 2010-01-24
*