Setup a border inside the div for circle - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Setup a border inside the div for circle

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 v a2  s .co m-->
   border-radius: 50%;
   width: 200px;
   height: 200px;
   background: red;
   border: 3px solid blue;
   box-shadow: 0px 0px 0px 5px #f00;
}


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

Related Tutorials