Mountaintop corners
Dan Cederholm has written an article on how to achieve rounded box corners using only CSS. All very nifty, to quote:
Because an element’s background-image sits on top of its background-color, we can use transparent GIF images that create the illusion of rounded or shaped corners and borders. By keeping these decorative graphics within CSS, we can achieve flexible containers that can change color with the update of a single CSS rule. Happy hiking.
(I'll say it again, there's some really great work happening in the CSS world at the moment...)
Posted by jamesr on May 01, 2004 01:01 PM
Categories: Web development
|
 |
 |
|