Hi guys I cannot scale my anchor tag on hover, this is my code :
a {
color: red;
text-decoration: none;
transition: all 0.5s;
}
a:hover{
color:blue;
transform:scale(3);
}
<a>TEST</a>
Hi guys I cannot scale my anchor tag on hover, this is my code :
a {
color: red;
text-decoration: none;
transition: all 0.5s;
}
a:hover{
color:blue;
transform:scale(3);
}
<a>TEST</a>
transforms dont work on non replaced inline
element , so you can just give display: inline-block
a {
color: red;
text-decoration: none;
transition: all 0.5s;
display: inline-block;
}
a:hover{
color:blue;
transform:scale(3);
}
<a>TEST</a>
refer here https://drafts.csswg.org/css-transforms-1/#terminology