ShadedBorder: JavaScript Round Corners with Drop Shadow
Written by on March 26th, 2007 in Ajax News.
Steffen Rusitschka is keeping the rounded corner legend alive with his new RUZEE.ShadedBorder JavaScript library.
Why another?
- JavaScript-only Photoshop(tm)-like rendering without external images
- Round corners
- Drop shadows
- Glow effects
- Borders with different widths
- Full support for liquid designs
- Anti-Aliasing
- On-hover support (except for IE 6.0)
- Disable some of the corners, e.g. bottom-left
- Change borders on-the-fly
- Real transparency - looks perfect on any background
- Cross-Browser: Firefox, Internet Explorer (>=6.0), Safari, Opera
- Non-obstrusive
- Leight-weight (7.7KB uncompressed)
- Fast (0.6s for the example on a 2.2GHz machine)
- No JavaScript library dependencies
How to
HTML:
Source: Ajaxian
Original Article: http://ajaxian.com/archives/shadedborder-javascript-round-corners-with-drop-shadow
