From 002274ff0efbad66557abf422093b86471fbee23 Mon Sep 17 00:00:00 2001 From: pompypearson Date: Wed, 24 May 2023 23:40:00 +0530 Subject: [PATCH] worked on making html better looking --- HtmlGame/CarGame.html | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/HtmlGame/CarGame.html b/HtmlGame/CarGame.html index 0c484b0..45c24e9 100644 --- a/HtmlGame/CarGame.html +++ b/HtmlGame/CarGame.html @@ -7,9 +7,36 @@ border:1px solid #f7a219; background-color: #08070c; } + +.button{ + background-color:#040303; + border: none; + color: white; + + padding: 10px; + box-shadow: none; + margin-top: 10px; + border-radius: 4px; + transition: box-shadow 0.15s; +} +.button:active{ + background-color: hsl(59, 100%, 50%); + border: none; + color: rgb(2, 0, 0); + font-weight: bold; + margin-top: 15px; + margin-left: 15px; + padding-bottom:10px; + border-radius: 4px; + box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.15); +} + +.div{ + color: white; +} - +
- -

Use the ACCELERATE button to stay in the air

-

This game is made by Rajnandan Prasad

+
+
+

Tips: Use the ACCELERATE button to stay in the air

+