Make circle and line shape - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Make circle and line 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">
.circle {<!--from  w w  w .  j  av a  2  s  .c om-->
   width:41px;
   height:41px;
   border-radius:100%;
   background-color:Chartreuse;
   float:left;
}

.line {
   margin-top:19px;
   width:100px;
   height:5px;
   background-color:yellow;
   float:left;
}
</style> 
 </head> 
 <body> 
  <div class="circle"></div> 
  <div class="line"></div> 
  <div class="circle"></div> 
  <div class="line"></div> 
  <div class="circle"></div> 
  <div class="line"></div> 
  <div class="circle"></div>  
 </body>
</html>

Related Tutorials