make a circle in css and make it responsive as well - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Responsive Layout

Description

make a circle in css and make it responsive as well

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  .  c om-->
   border-radius:51%;
   width:100px;
   line-height:100px;
   border:2.6px solid Chartreuse;
   position:absolue;
   text-align:center;
   float:left;
}

.main {
   margin-left:121px;
}
</style> 
 </head> 
 <body> 
  <div class="row"> 
   <span class="Circle">Lorem </span> 
   <p class="main">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamco</p> 
  </div>  
 </body>
</html>

Related Tutorials