This CSS Menu harnesses CSS3's ability to define multiple/ inset shadows (so the shadow grows inwards) on an element to create menu items with bevelled edges and a growing inner glow when the mouse rolls over them. CSS3 animation is enabled to gradually transition between various property changes.
The CSS :
It's very simple.
In a new HTML/JavaScript page element paste as following :
Another process :
1.Add The CSS above </b:skin>
2. Paste THE CSS part
3.After <body> paste THE HTML part where you want the Menu Bar.
(N.B : Be carefull while working with these codes.please make a backup of your TEMPLATE)
The CSS :
The HTML :.devmenu3{ font-weight: bold; font-size: 85%; width: 100%; } .devmenu3 ul{ border: 1px solid #BBB; border-width: 0px 0; /* Show only top and bottom border for main menu container */ padding: 0; margin: 0; overflow: hidden; } .devmenu3 ul li{ display: inline; margin:0; padding:0; } .devmenu3 ul li a{ display:block; float:left; text-transform: uppercase; color: #494949; padding: 8px 30px 8px 30px;/*here you can change menu box padding*/ margin: 0; text-decoration: none; border-right: 1px solid #BBB; /*right border between menu items*/ -moz-box-shadow: inset -7px 0 10px rgba(114,114,114, 0.4); /* Add inset shadow to each menu item. First 3 values in (114,114,114, 0.4) specifies rgb values, last specifies opacity */ -webkit-box-shadow: inset -7px 0 10px rgba(114,114,114, 0.4); box-shadow: inset -7px 0 10px rgba(114,114,114, 0.4); text-shadow: 0 -1px 1px #cfcfcf; /* CSS text shadow to give text some depth */ -moz-transition: all 0.2s ease-in-out; /* Enable CSS transition between property changes */ -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .devmenu3 ul li a:hover{ color: black; -moz-box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); /* Add 2 inset shadows to each menu item */ -webkit-box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); }
How to Add this in Blogger ?<div class="devmenu3"> <ul> <li><a href="#"><span>Home</span></a></li> <li><a href="#"><span>Category</span></a></li> <li><a href="#"><span>CSS</span></a></li> <li><a href="#"><span>About</span></a></li> <li><a href="#"><span>Contact</span></a></li> </ul> </div>
It's very simple.
In a new HTML/JavaScript page element paste as following :
And click Save<style type="text/css"> [ THE CSS ] </style> [ THE HTML ]
Another process :
1.Add The CSS above </b:skin>
2. Paste THE CSS part
3.After <body> paste THE HTML part where you want the Menu Bar.
(N.B : Be carefull while working with these codes.please make a backup of your TEMPLATE)
Post a Comment Blogger Facebook
Thank you..