Create a div with round side using border-radius - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-radius

Description

Create a div with round side using border-radius

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta charset="utf-8"> 
  <title>The first commented line is your dabblet?s title</title> 
  <style>

#page {<!--   ww  w  . j  a v a 2s. c o  m-->
   border: 1px solid #beb2b2;
   width: 732px;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   min-height: 25px;
   margin: 15px;
   background: url('https://www.java2s.com/style/demo/Opera.png');
}

      </style> 
 </head> 
 <body> 
  <div id="page"></div>  
 </body>
</html>

Related Tutorials