Is there something in the code preventing the animation from working properly?
.projectLinks a{
background-color: var(--secondary-color);
color: var(--main-color);
padding: 2px 4px 4px 4px;
border-radius: 15px;
margin-right: 25px;
text-decoration: none;
Animate it!
transition-property: transform;
transition-duration: .3s;
}
.projectLinks a:hover{
background-color: var(--secondary-hover);
transform: translateY(-3px);
}
The hover effect is working, but why isn't the transition happening smoothly?
Take a look at this codepen demo I created to illustrate the issue: