I need help to Use the CSS Transform scale Property to Scale an Element on Hover

Tell us what’s happening:

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/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/

div :hover

Cut off that space ^^

1 Like

i got that thanks…

1 Like

remove the css transform scale property from inside the bracket and place the bracket where it suppose to be.