Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A jQuery plugin enabling better CSS selector support for older browsers by leveraging jQuery's excellent selectors.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.
Something went wrong with that request. Please try again.