Set Border Radius by various size - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-radius

Description

Set Border Radius by various size

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">

.box {<!--from w  w w. j  av a2  s.  co  m-->
   background: green;
   width: 200px;
   height: 200px;
   border-radius: 10px 5% / 20px 25em 30px 35em;
}


      </style> 
 </head> 
 <body> 
  <div class="box"></div>  
 </body>
</html>

Related Tutorials