May 6, 2019
Fixing the font-weight Problem on Hover States
Description:
Have you ever tried to change the value of the font-weight property on link states? If yes, you may have noticed that the text shifts.
In this quick tip, we’ll first learn what causes this undesired behavior and then we’ll examine two possible solutions.
Kind:
CSS
CSS:
a:hover {
text-shadow: 0 0 .65px #333, 0 0 .65px #333;
/* For a more intense effect:
text-shadow: 0 0 .9px #333, 0 0 .9px #333, 0 0 .9px #333; */
}