Rounded Corners (non-IE)


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



Copy this code and paste it in your HTML
  1. .element {
  2. -moz-border-radius: 5px;
  3. -webkit-border-radius: 5px;
  4. border-radius: 5px; /* future proofing */
  5. }
  6. .element-top-left-corner {
  7. -moz-border-radius-topleft: 5px;
  8. -webkit-border-top-left-radius: 5px;
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.