Rounded Image Corners Through CSS and Javascript

Thursday, April 19th, 2007

Teahouse

Ajaxian has an article on a Javascript package called Corner.js. It allows you to use CSS class specifications to add some simple effects to images at page-load time - you can round the corners, add shadows and shade the edges. The only things you need to do on your web page are load the script and add the appropriate CSS class definitions to your images.

Corner.js works with Firefox 1.5+, Safari and Opera 9+. Older browsers and Internet Explorer will just display images normally without the added effects.

Ajaxian » Canvas Corner 1.0
[tags]rounded corners, javascript, css, images, web[/tags]

Sponsored Links