CSS list items in triangle shape from top to bottom - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

CSS list items in triangle shape from top to bottom

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">
div {<!--   ww w  .  jav a2  s.com-->
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <div>
    Lor 
  </div> 
  <div>
    Lorem 
  </div> 
  <div>
    Lorem i 
  </div> 
  <div>
    Lorem ips 
  </div>  
 </body>
</html>

Related Tutorials