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

Use the CSS Transform scale Property to Scale an Element on Hover 1
0.0 0

#1

Tell us what’s happening:

what am i doing wrong have been on this for hours now

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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-css-transform-scale-property-to-scale-an-element-on-hover/


#2

sorted it out already thanks


#3

bt how give me the solution


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