Draw circles using border radius - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Draw circles using border radius

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

#circle {<!--   www . ja v a  2  s .c  om-->
   width: 100px;
   height: 100px;
   background: red;
   -moz-border-radius: 50px;
   -webkit-border-radius: 50px;
   border-radius: 50px;
}


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

Related Tutorials