Our rounded corners implementation is based on three different works:
- Nifty Corners at http://pro.html.it/esempio/nifty/
took these, combined them, stripped some functionality (kept antialiasing) and simplified the API. There is one
restriction: only DIVs can be rounded with this implementation, which
suited us fine, and made the code a bit shorter.
You have to attach a class “rounded” to the divs you want round.
The first parameter, “rounded” stands for the classname
which is used to mark the divs that we want to make round. The other two
parameters are the radius of the corners, the bigger the number, the
rounder you will get.