From 06fb551d95afb968a5f169ce47ef303a6ce92a4f Mon Sep 17 00:00:00 2001 From: Padhmashikha Date: Tue, 28 Oct 2025 12:19:43 +0530 Subject: [PATCH] updated css file --- c1.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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