Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="chooseDifficulty">
- <p>Difficulty</p>
- <button class="button buttonReverse" data-id="easy">EASY</button>
- <button class="button buttonReverse" data-id="medium">MEDIUM</button>
- <button class="button buttonReverse" data-id="hard">HARD</button>
- </div>
- #gameFinished, #gamePaused, #keyBindings, #chooseDifficulty {
- position: absolute;
- background-color: rgba(255, 255, 255, 0.2);
- border: 1px solid black;
- left: 40%;
- top: 40%;
- width: 300px;
- /*height: 300px;*/
- text-align: center;
- white-space: nowrap;
- }
- #gameFinished p:first-of-type, #gamePaused p:first-of-type, #chooseDifficulty p:first-of-type {
- color: black;
- font-size: 2rem;
- font-weight: bold;
- margin: 0;
- }
- #gameFinished p:last-of-type, #gamePaused p:last-of-type {
- margin-bottom: 10px;
- }
- #chooseDifficulty .button:first-of-type{
- margin-top:10px;
- }
- #gameFinished .button, #gamePaused .button, #keyBindings .button, #chooseDifficulty .button {
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 10px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement