Here is an example of a button using an anchor tag:
<a href ng-if="!isLogin" class="dropdown-toggle" data-toggle="dropdown">
<b class="white-link">Login</b>
<span class="caret white-link"></span></a>
In order to style the login button, I am utilizing a custom CSS class called white-link
.
However, I am facing an issue where the CSS class is only applied to the button when hovering over it. I want the class to also be applied to both the button and caret icon when either one is hovered over. How can I achieve this functionality in an Angular environment?