I'm struggling to create a CSS-styled navigation bar with a white arrow pointing upwards at the selected item. The challenge is making sure the arrow stands out from the background and aligns properly with the text box. It should look similar to this image:
Does anyone have any tips on how to implement a "selected" CSS style for the navigation item, as seen in the example above?
I am attempting to use a CSS class called "activate", so
<li class="activate"><a href="#">Overview</a></li>
creates the arrow effect. Here is the progress I've made so far in this jsfiddle link: https://jsfiddle.net/v680tfvr/. It's somewhat functional, but there are issues with the hover highlighting being too large, and an extra arrow appearing near the top. It seems like a simple fix, but I can't seem to figure it out!