Here is the situation. I have a Hover effect with the bottom line shows when the item has hovered over.
Here is my current CSS code:
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
background:#fff!important;
font-family:Gotham-Bold!important;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link:after
{
background:#fff!important;
font-family:Gotham-Bold!important;
visibility: inherit;
display:block;
content: '';
border-bottom: solid 3px #cf2734;
transform: scaleX(0);
transition: transform 250ms ease-in-out;
overflow:hidden;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link:hover:after { transform: scaleX(1); transform-origin: 0% 50%; transition-delay: 0s; }
Just using pure CSS (no javascript), is there a way to keep the hover state in the current status?
Thank you