jQuery jQuery.cssHooks method
Examples
Define a new css hook
try it"
Definition and Usage
$ .cssHooks Is provided a method defined functions to get and set specific CSS value.
Note: 1. It aims to standardize CSS property name or create a custom attribute.
2. For example, some versions of Webkit-based browser needs -webkit-border-radius property to set the border-radius element, and early versions of Firefox -moz-border-radius property. A CSS hook can standardize these properties have the prefix, so .css () accepts a single, standard name attribute (border-radius, or DOM attribute syntax, borderRadius).
grammar
More examples
Var test browser vendor prefixes
In making vendor-specific CSS properties standardization, we should first determine whether the browser supports the standard attributes or variant with a browser vendor prefixes.
Define a complete css hook
Define a complete css hook.