Prev Demo
Vertical Navigation Bar With Hover
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> ul { list-style-type: none; margin:0; padding:0; width: 120px; background-color: black; } li a { display: block; color: white; padding: 8px 0px 8px 16px; text-decoration: none; } li a:hover { background-color: green; color: red; } </style> </head> <body> <h2>Vertical Navigation Bar with Hover</h2> <ul> <li><a href="http:www.techfunda.com">TechFunda</a></li> <li><a href="http://www.dotnetfunda.com">DotNetFunda</a></li> <li><a href="http://www.itfunda.com">ITFunda</a></li> <li><a href="http://www.kidsfunda.com">KidsFunda</a></li> </ul> </body> </html>
Note: We DO NOT save your trial code in our database.
Output