hover effect

Hi everyone I realize this menu what I want is : in the hover the colored div he means the after should grow at the center to the left side and right side https://codepen.io/alpha_66/pen/gOZRwxZ can I get some idea to achieve this thanks by advance.
2 Replies
Mannix
Mannix16mo ago
if you want apply style to psudeo element on hover in should be ul li:hover:after not ul li:hover :after
Pat66
Pat66OP16mo ago
thanks problem solved
Want results from more Discord servers?
Add your server