diff options
author | IgrisBRC <[email protected]> | 2024-07-12 16:17:52 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-12 16:17:52 +0530 |
commit | 525b12914d96e59c38bc048f791de1577a294077 (patch) | |
tree | 299e14df2b673769adfee1e8f6c1104dd0413afe /index.css | |
parent | b7af2f91f2115405155d244c09fbdd757b6de24c (diff) | |
parent | d865daddd654a3ed338e8a552771fc97aaa404e1 (diff) |
Merge pull request #2 from AmanJain1644/main
chessboard updated
Diffstat (limited to 'index.css')
-rw-r--r-- | index.css | 38 |
1 files changed, 29 insertions, 9 deletions
@@ -1,13 +1,32 @@ +*{ + margin: 0; + padding: 0; +} + +.box{ + height: 76px; + width: 76px; + position: relative; +} +.top-corner{ + padding: 1px; + position: absolute; +} +.bottom-corner{ + padding: 1px; + position: absolute; + bottom: 2px; + right: 2px; +} + .white{ - background-color: antiquewhite; - height: 100px; - width: 100px; + background-color: #eaead2; + color: #4b7299; } -.black{ - height: 100px; - width: 100px; - background-color: brown; +.black{ + background-color: #4b7299; + color: #eaead2; } body{ @@ -16,11 +35,12 @@ body{ display: flex; justify-content: center; align-items: center; + margin: 1px; } .chess-board{ - width: 800px; - height: 800px; + width: 608px; + height: 608px; display: grid; grid-template-columns:repeat(8,1fr); grid-template-rows:repeat(8,1fr); |