rounded box in css3


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



Copy this code and paste it in your HTML
  1. div.rounded {
  2. background-color: #666;
  3. color: #fff;
  4. font-weight: bold;
  5. padding: 10px;
  6. -moz-border-radius: 5px;
  7. -webkit-border-radius: 5px;
  8. }

URL: http://www.cssnewbie.com/12-creative-and-cool-uses-for-the-css-border-property/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.