@Nikitossik
Posted
Hey, congrats on completing the challenge! I think the problem is, that .button__text
color overrides the color that you add directly to the .button
on :hover
You can do .button:hover .button__text {...}
and there change the color.
Also you can remove p
from button
and change the color directly for it, so nothing that goes higher in the cascade or has more accurate class could override the styles
happy coding)
Marked as helpful