Skip to main content


Returns : String

Give checkPrefix() any CSS property name and it will return the appropriate, browser-prefixed version (if necessary) of that property. If no prefix is needed, it will return the original property name. If the property does not exist, it will return undefined. For example:

//the following may return "filter", "WebkitFilter", or "MozFilter" depending on your browser
var filterProperty = gsap.utils.checkPrefix("filter");


  1. property : String - The name of the property to check, like "filter".