CSS3 Rounded Corners

CSS3 Rounded Corners

Adding rounded corners in CSS2 was tricky. We had to use different images for each corner.
In CSS3, creating rounded corners is easy.
In CSS3, the border-radius property is used to create rounded corners:

This box has rounded corners!

Here's the code of this:

  1. border:2px solid;
  2. border-radius:25px;

No comments:

Post a Comment