From 9065825c32e0f2ed52a41ca36ae7bd4a3c9ad8c1 Mon Sep 17 00:00:00 2001 From: Tejas Modi Date: Tue, 7 Feb 2023 16:45:51 +0530 Subject: [PATCH] [ADD] RPS game --- main.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 main.html create mode 100644 style.css diff --git a/main.html b/main.html new file mode 100644 index 0000000..e45d91c --- /dev/null +++ b/main.html @@ -0,0 +1,53 @@ + + + + + + +
+
+
+ + + +
+

Computer

+
+
+

Me: 0

+

Computer: 0

+
+
+ + + + + + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..3e03e0a --- /dev/null +++ b/style.css @@ -0,0 +1,44 @@ + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Poppins',sans-serif; +} + +.container { + display: flex; + flex-direction: column; + width: 480px; + margin: auto; + padding-top: 120px; + + +} + +.screen { + display: flex; +} + +.buttons , #computer { + margin: 2px; + flex-basis: 50%; + height: 210px; + background-color: lightblue; + display: flex; + justify-content: center; + align-items: center; +} + +button{ + font-size: 18px; + padding: 8px; +} + +button:focus{ + font-weight: bold; +} + +.me{float: left;} + +.comp{float: right;} \ No newline at end of file