w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Jquery mouseenter state show active state and disable no active

Everything is functioning as intended but your psuedo selector is selecting the base element as opposed to the hovered element, adjust the CSS as follows:

.subtext.hover:after{
    content:">";
    position:absolute;
}

Here's a jsFiddle





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.