Hey everyone!
I’m trying to get all of my anchor elements to scale up when i hover over them, however, only the “Let’s Talk” increases in size when i hover.
Could someone please explain what i’m doing wrong?
Thanks!
Nia
Hey everyone!
I’m trying to get all of my anchor elements to scale up when i hover over them, however, only the “Let’s Talk” increases in size when i hover.
Could someone please explain what i’m doing wrong?
Thanks!
Nia
I thinks your problem is the order of your selector for links. Check this:
I hope it helps. Happy coding!
This is the important part of that post
"When setting the style for several link states, there are some order rules:
a:hover MUST come after a:link and a:visited
a:active MUST come after a:hover
"
I think the problem is that.
Happy coding!
hey! thank you so much for your input! unfortunately that didn’t work
I am checking for the solutions, it is interesting. It is like they dont have room to grow up.
By the way I think it is better transform this way:
transform: scale(1.2, 1.2);
or use: transform: scaleX(1.2); or scaleY(1.2)
instead.
Good luck
Hi @viedelafille
I got your answer. They could not grow up because they are displaying as inline. With this works:
display: inline-block;
Happy coding!
omggg you’re a LIFE SAVER! thank u so much carlos
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.