How to remove the effect of font-weight, hover on the adjacent blocks?

Good day!

Tell me what you can make when you hover the links becoming "fat" "did not push" adjacent links? At the moment when you hover the links on the left and right part

April 7th 20 at 15:51
2 answers
April 7th 20 at 15:53
Solution
Done with the shadows:



The second option is define the width of the elements, and then bold when you hover will not affect the adjacent elements:

April 7th 20 at 15:55
Solution
Recently there was a question
Wish that link did not move when hovered?
thank you! - Austin13 commented on April 7th 20 at 15:58

Find more questions by tags CSSHTML