Tell us what’s happening:
Describe your issue in detail here.
The problem is to go for 0.1 opacity at 50% for the ball to fade.The ball is fading properly but the code won’t pass.please help.
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 {
50% {
left: 60%;
}
50% {
opacity:0.1;
}
}
</style>
<div id="ball"></div>
Your mobile information:
SM-A736B - Android 13 - Android SDK 33
Challenge: Applied Visual Design - Create Visual Direction by Fading an Element from Left to Right
Link to the challenge: