I'm in the process of designing a website and I have a unique challenge - I need to figure out how to create a dynamic triangle below an item on the menu bar using CSS.
The catch is that the horizontal position of this triangle will shift based on which page the user is visiting, so it needs to always highlight the active menu item.
Can this dynamic positioning be achieved solely with CSS? Any advice would be greatly appreciated!