make a div with a circular shape - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

make a div with a circular shape

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">
div {<!--from  w w w.  ja va  2 s  .  c  om-->
   width:100px;
   height:100px;
   border-radius:51%;
   background:red;
}
</style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials