Rounded Corners


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

Simple CsS div box that should display rounded corners.


Copy this code and paste it in your HTML
  1. <div style=”border:1px solid #000; height:100px; width:100px;-webkit-border-top-left-radius: 10px;-webkit-border-top-right-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px;”>Hello World</div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.