Rounded Corners with CSS3 / Creating a Circle with CSS3


/ Published in: CSS
Save to your folder(s)

Use css for rounding corners instead of images.
Also use css3 for creating circles.


Copy this code and paste it in your HTML
  1. /* For supporting browsers */
  2. border-radius: 5px;
  3. /* Old Chrome */
  4. -webkit-border-radius: 5px;
  5. /* Old Firefox */
  6. -moz-border-radius: 5px;
  7.  
  8. /* Circle */
  9. height: 70px;
  10. width: 70px;
  11. border-radius: 35px;
  12. -moz-border-radius: 35px;
  13. -webkit-border-radius: 35px;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.