Create Circle Shape with border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Create Circle Shape with border

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 {<!--from   w  w  w .  j a  va2  s. c o m-->
   width: 100px;
   height: 100px;
   background: red;
   -moz-border-radius: 50px;
   -webkit-border-radius: 50px;
   border-radius: 50%;
   border:4px solid blue;


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

Related Tutorials