Tell us what’s happening:
please check about this issue. I have done the right one. While running, it shows an error. If i am wrong, please correct me.
Your code so far
<style>
div {
width: 70%;
height: 100px;
margin: 50px auto;
background: linear-gradient(
53deg,
#ccfffc,
#ffcccf
);
}
div:hover
{
transform : scale(1.1);
}
</style>
<div></div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
.
Challenge: Use the CSS Transform scale Property to Scale an Element on Hover
Link to the challenge: