Using an html triangle for a list - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Using an html triangle for a 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">
a:hover:before {<!-- w w w .  j  a v a 2s. c o  m-->
   content:'\26BA';
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li> <a href="">Lore</a> </li> 
   <li> <a href="">Lore</a> </li> 
  </ul>  
 </body>
</html>

Related Tutorials