CSS list-style: lower-alpha issue - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

CSS list-style: lower-alpha issue

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">
body {<!-- w  w w .  j av a  2 s.c o m-->
   margin:51px;
}

li {
   list-style-type:lower-alpha;
}

li::before {
   content:')';
   margin:0 9px 0 -9px;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li>Lor</li> 
   <li>Lorem</li> 
   <li>Lorem</li> 
  </ul>  
 </body>
</html>

Related Tutorials