Skip to content

Instantly share code, notes, and snippets.

@ryansukale
Created May 13, 2011 11:36
Show Gist options
  • Save ryansukale/970384 to your computer and use it in GitHub Desktop.
Save ryansukale/970384 to your computer and use it in GitHub Desktop.
A simple jquery plugin to add rounder borders. This plugin adds equal radius round borders.
(function(jQuery){
jQuery.fn.roundall=function(radius){
return this.each(function(){
$(this).css({'-moz-border-radius':radius,'border-radius':radius,'-webkit-border-radius':radius});
});
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment