Create rounded corners div in 2 steps with CSS3

  • January 20, 2012
  • CSS
  • SG

Building a site with an attractive UI is so simple hereafter. Creating a Rounded corner div in a website, was quite tedious.There are lots of ways to create a rounded corner DIV. The below mentioned method is compatible with all high end browsers. See below the output of the rounded corner CSS.

Before that, we will discuss few advantages of rounded corners:

  1. Increase the Visitor rate – High user experience
  2. Improve the SEO rating – Since visitor rate is increased
  3. Easy to enhance design in future  РYes.. believe.. it will be helpful

Below is the simplest implementation method using CSS3.

Step 1 :- CSS script

Step 2 :- HTML Markup

Step 3  & Output:

“Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit…”
“There is no one who loves pain itself,who seeks after it and wants to have it, simply because it is pain…”Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Leave a Comment

Your email address will not be published. Required fields are marked *