Create border of circle - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Create border of 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 {<!--  ww w  .  j a v a 2s  . c o m-->
   -moz-border-radius: 90px;
   -webkit-border-radius: 90px;
   border-radius: 90px;
   border: solid 25px#396bb3;
   width:50px;
   height:50px;
   border-top-color:transparent;
   -ms-transform: rotate(45deg); /* IE 9 */
   -webkit-transform: rotate(45deg);
   transform: rotate(45deg);
}


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

Related Tutorials