jQuery.cssRule

A simple jQuery plugin to manipulate CSS rules.
The plugin insert a new style sheet element on the page. It will be inserted where the js code is placed (head or body) and will override other CSS style sheets placed before.

Background

$("body").cssRule({ background:xxx });

Title

$("h1,h2").cssRule({ color:xxx, background:xxx });

Buttons

$("button").cssRule({ background:xxx });

Reset

$("*").cssRule(null);