Filip
Filip

Reputation: 25

Font color wont change using :after:hover

I'll provide you with the code, but it seems that I cant change color of any a or li in my document. Been trying to fix it for a while, had zero success. I even tried to style it inline. What I want is when I hover, the text should turn white. Any type of help would be greatly appreciated, been stuck here for a while.

Here's my pen. https://codepen.io/filipstev/pen/rNVQqyZ

P.S. This is my first forum post. Sorry if I didn't explain it correctly!

Upvotes: 0

Views: 175

Answers (1)

Arsham
Arsham

Reputation: 153

Hi maybe you can use hover instead of using after it is better to use if you are just changing the color all you need to do is put the class name lets its batn like in your case you can try batn:hoverc{color:black !important;}

hope this helps you solve your issue

Upvotes: 1

Related Questions