Menu css
hi everyone
I would like to make a dynamic menu in which the buttons change colors when the mouse is on and keeps that color on the new page. How can we do this with a css
Bests regards
hi everyone
I would like to make a dynamic menu in which the buttons change colors when the mouse is on and keeps that color on the new page. How can we do this with a css
Bests regards
I have a slightly different way of making persistent page indicators on menus.
Persistent Page Indicator on Menus - http://alt-web.com/
Give each anchor a class name.
<a class="home" href="index.html">HOME</a> |
<a class="about" href="about.html">ABOUT US</a> |
<a class="products" href="products.html">PRODUCTS</a> |
<a class="services" href="services.html">SERVICES</a>
On each page, apply the target class name to your <body> tag.
<body class="home">
<body class="about">
etc...
CSS:
body.home a.home,
body.about a.about,
body.products a.products,
body.services a.services {
/**your custom styles here**/
color: red;
text-decoration: underline;
background: yellow;
}
Nancy
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.