Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Distorted circle when using border radius

Distorted circle when using border radius

Problem

In my page I have a menu icon on top left corner, and it is wrapped inside a circle, SO I used CSS3 border radius.

But the circle is not that smooth and I am getting some distortion along the corner. Is there any way to make it smooth.

If the height and width increased, I am getting the circle shape without distortion.

#container{
    width:400px;
  height:400px;
  background:#000;
  padding:100px;
  }
#circle{
    width:40px;
  height:40px;
  border-radius: 50%;
  border:1px solid white;
  }
Problem courtesy of: Raja Sekar

Solution

Read this http://www.sitepoint.com/how-to-get-smoother-rounded-corners/ and do lemme know if this helps

Solution courtesy of: user1832200

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

Distorted circle when using border radius

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×