Problem 3 for this code: how do I make the bullet go slowly to the side? (Like transition duration but for Javascript.)
2 Answers
New Answerhttps://code.sololearn.com/Wh9tG53eUjuJ/?ref=app
5/1/2022 2:38:45 PM
Lego in Motion2 Answers
New Answer/* for example: */ .bullet { position:absolute; top:3%; width:20px; height:11px; background-color:#666; border-radius:0 50% 50% 0; transition-duration:1s; animation-name: anim1; animation-duration: 2s; } @keyframes anim1 { from {left: 4%;} to {left: 94%;} }
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message