Crossbrowser border-radius


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



Copy this code and paste it in your HTML
  1. .my-block {
  2. -moz-border-radius: 10px; /* Firefox */
  3. -webkit-border-radius: 10px; /* Safari, Chrome */
  4. -khtml-border-radius: 10px; /* KHTML */
  5. border-radius: 10px; /* CSS3 */
  6. behavior: url(border-radius.htc); /* learn IE border-radius */
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.