Set border-radius around div container - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-radius

Description

Set border-radius around div container

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.container2 {<!--   www .ja v  a 2s  . c o  m-->
   border: 2px solid #006699;
   padding-bottom:4px;
   padding-top:4px;
   padding-right:4px;
   padding-left:4px;
   width: 100%;
   clear:both;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   overflow: hidden;
}
.left-column2 {
   float:left;
   max-width: 100%;
}
.right-column2 {
   width:50%;
   float: left;
}


      </style> 
 </head> 
 <body> 
  <div class="container2"> 
   <div class="left-column2"> 
    <ul> 
     <li> <a href=""> 230x320</a> </li> 
     <li> <a href=""> 360x640</a> </li> 
     <li> <a href=""> 480x800</a> </li> 
     <li> <a href=""> 640x960</a> </li> 
     <li> <a href=""> 720x1280</a> </li> 
     <li> <a href=""> Desktop</a> </li> 
     <li> <a href=""> 1080x1920</a> </li> 
    </ul> 
    <div> 
     <div class="right-column2"> 
     </div> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials