Reputation: 48443
This is how looks like the item in menu bar without hover:
Here is with hover effect:
And here is the arrow that I am trying to add:
My current CSS formulas looks like:
ul.profile_menu {
background: url('menu.png') repeat-x;
list-style-type: none;
margin: 0;
padding: 0;
float: left;
li {
display: inline;
a {
float: left;
}
a:hover {
background: url('active_item.png') repeat-x;
height: 45px;
}
}
}
But how to add the arrow on the bottom of active item?
Thanks in advance
Upvotes: 0
Views: 4960
Reputation: 66663
You can generate the arrow (for current) purely using CSS itself (no CSS3 specific stuff - compatible with all browsers).
Use this site to generate the CSS you need for your arrow: http://cssarrowplease.com
Upvotes: 8