HTML5 <nav> Gradient effect


I have a Master Page with the following markup. I want the <nav> part of the markup to have a gradient effect
similar to that in the image. At the moment, when the user hovers over each navigation item the background
color changes. I just need a little guidance on how to do this. Thanks

<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site1.master.vb" Inherits="OES5.Site1" %>

<!DOCTYPE html>

<html xmlns="">
<head runat="server">
    <title>Microsoft Excel Spreadsheet Consulting | Excel Cloud Accounting | Office 365 Sharepoint</title>
    <asp:ContentPlaceHolder ID="head" runat="server">
     <style type="text/css">
            height: 34px;
        .myHoverButton {
            background-color:White ;
            border: none;
            font-family :Century Gothic;
        .myHoverButton:hover {

.contentheading {

      font-size: 200%;

      line-height: normal;

      color: #1a922e;


h2.contentheading, .contentheading {

      font-weight: normal;

      margin: 0;

      padding: 0;

      line-height: normal;


         border-collapse: collapse;
         width: 100%;
         border-style: none;
         border-color: inherit;
         border-width: medium;
         font-size: 100%;
         text-align: left;
         font-size: 100%;
         float: left;
         font-size: 100%;

       <!--nav element must live inside the 'body' element-->
      <li><a href="Default.aspx" class="myHoverButton">Home</a></li>
      <li><a href="Webform1.aspx" class="myHoverButton">Page 1</a></li>
      <li><a href="Webform2.aspx" class="myHoverButton">Page 2</a></li>
    <form id="form1" runat="server">
        <!--The ContentPlaceHolder area is used by the other pages to merge their content with the master page-->
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I have a couple of pages on my personal site that should help. First basic CSS gradients

Then using hover with gradient changes. Some with transitions

If you need more information let me know.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.