From 9c502e6ae6d3ae949d15fc705ca04a1c35cbe0eb Mon Sep 17 00:00:00 2001 From: amanjain1644 Date: Sun, 7 Jul 2024 18:54:29 +0530 Subject: added html and css files for the chess by punsi ka pati --- index.css | 25 ++++++++++++++++ index.html | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 index.css create mode 100644 index.html diff --git a/index.css b/index.css new file mode 100644 index 0000000..852deed --- /dev/null +++ b/index.css @@ -0,0 +1,25 @@ +.white{ + background-color: antiquewhite; + height: 100px; + width: 100px; +} +.black{ + height: 100px; + width: 100px; + background-color: brown; +} +body{ + height: 100vh; + width: 100vw; + display: flex; + justify-content: center; + align-items: center; +} +.chess-board{ + width: 800px; + height: 800px; + display: grid; + grid-template-columns:repeat(8,1fr); + grid-template-rows:repeat(8,1fr); + +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..2810e75 --- /dev/null +++ b/index.html @@ -0,0 +1,97 @@ + + + + + + Chess + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file -- cgit v1.2.3