Div_hover problems

Tell us what’s happening:

I tried a few variations; thought this was the best but isn’t working. I checked the other solutions and nothing jumped out.

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

You can not have a space between scale and (1.1).

1 Like