Category Archives: plugins

Announcing the Border Radius Support plugin

I’ve developed a jQuery plugin that will detect the specific css styles for setting the border radius of elements that the browser supports. The plugin will return an object containing three boolean properties: moz, webkit, and css3. Each property corresponds to a corresponding css style property

moz – MozBorderRadius

webkit – webkitBorderRadius

css3 – BorderRadius

var supported = $("#foo").borderRadiusSupport();

console.log(supported.moz); //true for Mozilla

console.log(supported.webkit); //true for Safari, Webkit, and Chrome

console.log(supported.css3); //true for Chrome

Support for more browsers may be added in the future.

Link to the GitHub repository