Each time I hover above my button or sometimes, link, it displaces slightly horizontally or vertically when all I expect is a color change.Sometimes,it reduces in size even when I did not scale it. I try to do the styling as accurately as possible but still,it keeps displacing. Please I’d like to know why.
I tried to change my method. This is actually a recurring problem. I just want to understand how to solve it so I can avoid it in future projects.
2
Answers
This will work fine for you, let me know if any problem occurs.
I am also very new, but I tried importing this exact code into code pen, and vs code and got perfect results. Are you sure it doesn’t have something to do with your browser?