Help: Use the CSS Transform scale Property to Scale an Element on Hover

Tell us what’s happening:
I need help to find an issue with my code. I have scaled it to 1.1.

  **Your code so far**

<style>
div {
  width: 70%;
  height: 100px;
  margin:  50px auto;
  background: linear-gradient(
    53deg,
    #ccfffc,
    #ffcccf
  );
}
p:hover {
transform: scale(1.1);
}


</style>

<div></div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Use the CSS Transform scale Property to Scale an Element on Hover

Link to the challenge:

you’ve put in the wrong element. Is on the div , not in the p

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.