inicio mail me! sindicaci;ón

More Nifty Corners (Nifty Corners 2)

A few weeks ago I found out about Nifty Corners, a javascript/css based technique of creating rounded corners without using any images at all. The library was pretty impressive and worked very nicely. It didn't require you to add any extra markup to your html either. All you had to do was define which elements you wanted to make rounded, specify the corner colors as well as the background color and it did the rest.

Well since then the original author of the library has been improving on it and adding new features. This new version is even more impressive than the previous one. It allows you to define exactly which corners you want rounded (tl, tr, bl, br or a combination). It also has a new feature that smoothes out the corners using some slight anti-aliasing. I haven't digged into the code to see how the aa'ing is done, but it works! Very nice.

http://pro.html.it/articoli/id_599/idcat_31/pro.html

Or for the impatient, links that go directly to the examples:

  1. Example one: a single div with antialias
  2. Example two: brothers divs
  3. Example three: transparent by nature
  4. Example four: with or without them
  5. Example five: color explosion
  6. Example six: elastic nifty
  7. Example seven: transparent, tabbed menu. Now with borders.
  8. Example eight: navigational leaves
  9. Example nine: a floated image gallery
  10. Example ten: Nifty layout

And here is the link to download the library: nifty2.zip

jase said,

April 22, 2005 @ 11:23 am

nifty!

rex.zhou said,

January 3, 2007 @ 3:34 am

cool~~~but what if i applied images as the background.
won't it be messed up?

RSS feed for comments on this post · TrackBack URI

Leave a Comment