diff options
author | amanjain1644 <[email protected]> | 2024-07-12 15:15:13 +0530 |
---|---|---|
committer | amanjain1644 <[email protected]> | 2024-07-12 15:15:13 +0530 |
commit | bb1ce7fe68a374f60b5cf85db318478f57beb0b9 (patch) | |
tree | 6ac322f2638ad654146ba5d27e0e37e53eea2ffa /index.css | |
parent | 5460f45a33c8cfd423e3d84c6bf082f7a55dc4e7 (diff) |
modified the chess board
Diffstat (limited to 'index.css')
-rw-r--r-- | index.css | 35 |
1 files changed, 21 insertions, 14 deletions
@@ -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{ |