La propiedad Transform CSS no funciona con el elemento <a>
quieroscale(x,y)
mi<a>
elemento cuando hago clic en él, pero no funciona. Utilizo el navegador web Mozilla Firefox para ejecutar el programa.
Aquí está mi código:
scaleElement.html<html>
<head>
<title>CSS3 Transform and Transition</title>
<style>
a{
background-color: green;
color: white;
padding: 10px 20px;
text-decoration: none;
border: 2px solid #85ADFF;
border-radius: 30px 10px;
transition: 2s;
}
a:hover{
transform: scale(2,2);
}
</style>
</head>
<body>
<center><a href="xyz.html">click here</a></center>
</body>
</html>