li.className:after : li.after « Tags « HTML / CSS






li.className:after

    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
li.last:after {
 content: ".";
}
</style>
</head>

<body>

  <ul>
   <li>Database</li>
   <li>Privacy</li>
   <li>Best</li>
   <li>Whatever</li>
   <li class="last">Make One</li>
  </ul>
</body>
</html>

   
    
    
  








Related examples in the same category

1.li after
2.li:after content: ", ";