Custom check-list - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Custom check-list

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">
ul {<!--from   www .ja  v  a2s  .  c om-->
   list-style:none;
}

li {
   display:flex;
   flex-flow:row;
   min-height:100px;
   position:relative;
}

span.circle {
   margin-right:100px;
   text-align:center;
   width:2em;
   height:2em;
   border:2px solid Chartreuse;
   background-color:yellow;
   border-radius:51%;
   z-index:100;
}

span.line {
   position:absolute;
   height:100%;
   border:0.2em solid blue;
   top:2em;
   left:0.6em;
}

li:last-child span.line {
   display:none;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li> <span class="line"></span> <span class="circle"></span> </li> 
   <li> <span class="circle"></span> </li> 
  </ul>  
 </body>
</html>

Related Tutorials