diff --git a/c1.css b/c1.css index 00cbb39..0494ad5 100644 --- a/c1.css +++ b/c1.css @@ -1 +1,16 @@ -write your code here +*{ + background-color: antiquewhite; +} +.ball{ + width: 100px; + height: 100px; + background-color: blue; + border-radius: 50%; + position: relative; + animation: move 4s infinite; +} +@keyframes move{ + 0%{transform: translateX(0px);} + 50%{transform: translateX(300px);} + 100%{transform: translateX(0px);} +} \ No newline at end of file