Vue to don’t assign active class ever

The hack that got the look I wanted was to modify the dropdown-item CSS:

.dropdown-item.active, .dropdown-item:active {
    color: #000000;
    text-decoration: none;
    background-color: #ffffff;
}

but I still think that there must be a solution so that I don’t set links to active. Because I have links other places than just in this dropdown menu, and don’t think writing a ton of CSS is the right answer.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top