This article mainly introduces the CSS to achieve the effect of the black navigation menu with shadow effect, through the CSS set background image switching effect to achieve a shaded navigation menu function, with a certain reference value, the need for friends can refer to the next
The example in this article describes the effect of the CSS implementation of a black navigation menu with shaded effects. Share to everyone for your reference. Specific as follows:
This is a CSS implementation with the shadow effect of the black navigation menu, there is three-dimensional, the mouse on the menu will see the background of the menu changes, pure CSS code application, no use of any JavaScript code. If you think the menu background color and text color is not what you want, you can also modify the CSS file yourself, as long as you are creative, a beautiful menu will be born.
The results are as follows:
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd" >< HTML xmlns= "http://www.w3.org/1999/xhtml" xml:lang= "en" >
above is the whole content of this article, I hope that everyone's learning has helped, more relevant content please pay attention to topic.alibabacloud.com!