Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Get normalized CSS values for an element in a hash

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 jquery.css-hash.js

jQuery CSS Hash

This just gives you a normalized hash of all the css values on an element. It's in early alpha, so it doesn't have everything I'd like, but it's a start.

$("#sidebar h2").cssHash(); // {"background-color": "#ffffff", ...}

Use in conjunction with jQuery.Color to get normalized color values.

Makes it so you can test css values cross browser.

Something went wrong with that request. Please try again.