I'm trying to rotate and scale a hyperlink on hover but it's not working. what did I get wrong?
HTML:
<footer class="footer">
<p class="footer__attribution">
Challenge by <a class="footer__link" href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a class="footer__link" href="#">Simeon Udoh</a>.
</p>
</footer>
CSS:
.footer {
&__link,
&:link,
&:visited {
color: $color-grey-light;
transition: all .2s ease-in;
text-decoration: none;
text-transform: uppercase;
background-color: $color-dark-blue;
cursor: pointer;
&:hover,
&:active {
transform: rotate(5deg) scale(1.3);
color: $color-red;
box-shadow: 0 1rem 2rem rgba($color-black, .1);
}
}