summaryrefslogtreecommitdiff
path: root/index.css
diff options
context:
space:
mode:
authoramanjain1644 <[email protected]>2024-07-12 15:15:13 +0530
committeramanjain1644 <[email protected]>2024-07-12 15:15:13 +0530
commitbb1ce7fe68a374f60b5cf85db318478f57beb0b9 (patch)
tree6ac322f2638ad654146ba5d27e0e37e53eea2ffa /index.css
parent5460f45a33c8cfd423e3d84c6bf082f7a55dc4e7 (diff)
modified the chess board
Diffstat (limited to 'index.css')
-rw-r--r--index.css35
1 files changed, 21 insertions, 14 deletions
diff --git a/index.css b/index.css
index f9e40ae..08324aa 100644
--- a/index.css
+++ b/index.css
@@ -1,25 +1,32 @@
*{
- font-size: 30px;
margin: 0;
padding: 0;
}
-.white{
- background-color: antiquewhite;
+.box{
height: 76px;
- width: 76px;
- display: flex;
- justify-content: center;
- align-items: center;
+ width: 76px;
+ position: relative;
+}
+.top-corner{
+ padding: 1px;
+ position: absolute;
+}
+.bottom-corner{
+ padding: 1px;
+ position: absolute;
+ bottom: 2px;
+ right: 2px;
}
-.black{
- height: 76px;
- width: 76px;
- background-color: brown;
- display: flex;
- justify-content: center;
- align-items: center;
+.white{
+ background-color: #eaead2;
+ color: #4b7299;
+}
+
+.black{
+ background-color: #4b7299;
+ color: #eaead2;
}
body{