A jQuery plugin enabling better CSS selector support for older browsers by leveraging jQuery's excellent selectors.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
tests
README
jquery-1.3.2.min.js
jquery.super-selectors.js
jquery.super-selectors.min.js

README

SuperSelectors is a jQuery plugin enabling better CSS selector support for older browsers

No need to clutter your markup with extraneous classes solely to serve as styling hooks for legacy browsers (IE6 *cough*).

Your stylesheets will be clean and forwards-compatible - no rules like:

	div.example > :first-child,
	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}

or even:

	div.example > :first-child {
	background: #0f0;
	color: #f0f;
	}

	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}
	
With SuperSelectors, your CSS can be:

  div.example > :first-child {
  background: #0f0;
  color: #f0f;
  }

And everything is taken care of.