summaryrefslogtreecommitdiff
path: root/index.css
diff options
context:
space:
mode:
authoramanjain1644 <[email protected]>2024-07-07 18:54:29 +0530
committeramanjain1644 <[email protected]>2024-07-07 18:54:29 +0530
commit9c502e6ae6d3ae949d15fc705ca04a1c35cbe0eb (patch)
tree8fc1826d230eff9dcae8476521ce91c10146c277 /index.css
parent7dc9f827f468640f565aec8e6f2909ead18d6cdb (diff)
added html and css files for the chess by punsi ka pati
Diffstat (limited to 'index.css')
-rw-r--r--index.css25
1 files changed, 25 insertions, 0 deletions
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