Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Get normalized CSS values for an element in a hash
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
README.md
jquery.css-hash.js

README.md

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.