Created
January 2, 2020 20:40
-
-
Save neslinesli93/79760061eb31b436e3c7bb03f63a2909 to your computer and use it in GitHub Desktop.
CSS specific for the game
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.game-container { | |
position: relative; | |
margin-top: 4rem; | |
/* Subtract half of the board width*/ | |
left: calc(50% - 260px); | |
} | |
.game-container .block { | |
display: block; | |
position: absolute; | |
} | |
.game-container .block.wall, | |
.game-container .block.floor { | |
background: #717d7e; | |
} | |
.game-container .block.brick { | |
border-style: solid; | |
border-color: gray; | |
border-width: 1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment