I am attempting to create a hover effect for my navigation links within the navbar. I want a simple filled dot to appear above the currently highlighted list item when hovered over. So far, I have been unsuccessful in achieving this using the CSS pseudo-selectors ':before' and ':after'. I did manage to get a line to show up by utilizing the border property. Is there a more straightforward method to accomplish this?
html
<div class="navbar">
<ul>
<li class="active"><a href="#">link 1></a></li>
<li><a href="#">link 2></a></li>
<li><a href="#">link 3></a></li>
<li><a href="#">link 4></a></li>
</ul>
</div>