Building Rounded Corners With CSS and JavaScript
(Page 1 of 6 )
Rounded corners give your website a professional, polished look. Unfortunately, the old school way of building rounded corners is rather messy and involves a lot of redundant markup. This article explains a much cleaner way of achieving the same effect.
Introduction
Surely, across our numerous visits, when surfing the Web, we have seen a lot of websites presenting fancy and very attractive background effects on their pages. From simplistic approaches to fairly complex designs, backgrounds are always relevant elements to achieve the professional “look and feel” that most Web designers intend to reach. Building sites that offer visitors highly qualified content, “wrapped” into an elegant visual presentation, is very often one of the most challenging tasks that developers have to face.
One of the most common background effects that empowers considerable visual aspects of a website is rounded corners. They have been used for years as decorative effects, and keep on being among the most requested design techniques.
With the progressive implementation and support for CSS that most modern browsers offer today, rounded corners are well suited for being developed within their scope.
When working with CSS, as with other things, there are several ways and solutions for achieving the desired effect.
In this article, we’ll be taking a look at the advantages and drawbacks of some of the usual techniques currently in use, and present newer approaches using an excellent combination of CSS and JavaScript.
Next: Our old friendly tables >>
More JavaScript Articles
More By Alejandro Gervasio
|
| · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | · | | | | |
|