Fade property is not working

Fade property is not working
0

#1

Tell us what’s happening:

Your code so far


<style>

  #ball {
    width: 70px;
    height: 70px;
    margin: 50px auto;
    position: fixed;
    left: 20%;
    border-radius: 50%;
    background: linear-gradient(
      35deg,
      #ccffff,
      #ffcccc
    );
    animation-name: fade;
    animation-duration: 3s;
  @keyframes fade{0.1{50%;}
  }

  @keyframes fade {50%(0.1) {
      right: 60%;
      
    }
  }

</style>

<div id="ball"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-visual-direction-by-fading-an-element-from-left-to-right


#2

Dude, don’t create duplicate posts, i have given you the solution in the previous post which you had created


#3

ok i deleted that but still not working


#4

Reset your code, and add just one line to the keyframe inside 50% below the left: 60% property,
set opacity property to 0.1