What's my mistake? Refuses to run

Tell us what’s happening:
Describe your issue in detail here.

  **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 (Linux; U; Android 9; MRD-LX1F Build/HUAWEIMRD-LX1F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36 OPR/51.0.2254.150807

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

Link to the challenge:

nothing works fine for me. there might be a problem with ur browsetr

When I put the code in, it seems to work. Do you have any other information?

My friend Zettai your error is in syntax of div hover state arrange it and it should run for you :+1:
Waiting to now if you solve it.
div:hover {
transform: scale(1.1); ← put the colon right after transform not befor scale
}

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