Css hover scale

Tell us what’s happening:
Hi everyone!

My code makes a scale when hover over div, but i can’t pass the test.
Can someone please tell me where is my mistake?
Thanks in advance.

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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 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

1 Like

remove the space after transformtranform: scale(1.1);

2 Likes

Yeah the space after the transform property. Remove it

2 Likes