jQuery API

CSS


These methods get and set CSS-related properties of elements.

As of version 1.4.3, jQuery’s CSS module was rewritten to provide a set of “hooks” for the .css() method. This advanced feature, $.cssHooks, allows for fine-grained control over the way jQuery handles certain style properties and enables the creation of custom, browser-normalized properties. The $.cssHooks object also extends the set of properties available to the .animate() method.

A collection of cssHooks is available at github.com/brandonaaron/jquery-cssHooks.