Check out the live link provided below:
I am attempting to add a border and later an arrow in the middle on hover in the menu. However, the current code places a border over the entire menu, with individual list items on top of that.
#menu ul li {
margin-top: -50px;
padding-top: 50px;
float: right;
margin-right: 30px;
display: inline-block;
}
#menu li:hover {
border-top-style: solid;
border-top-color: red;
border-top-width: 3px;
}
Using a:hover does work, but I have not been able to find a way to position the border above everything else. I anticipate facing similar issues when trying to include the arrow caret as well.
Thank you.