Skip to content
Get normalized CSS values for an element in a hash
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.