change css of a li bullet - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

change css of a li bullet

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">
li {<!--  w w  w . j av  a  2 s.c o m-->
   color:Chartreuse;
}

li span {
   color:yellow;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li> <span>Lorem </span> </li> 
   <li> <span>Lorem </span> </li> 
   <li> <span>Lorem </span> </li> 
   <li> <span>Lorem </span> </li> 
  </ul>  
 </body>
</html>

Related Tutorials