Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: 'Helvetica', 'Arial', sans-serif;
- padding: 20px;
- padding-bottom: 0px;
- margin: 0px;
- color: #DFE4E8;
- background: #3B86B7;
- }
- #board {
- display: none;
- width: 400px;
- height: 600px;
- background: #DFE4E8;
- margin: 0px;
- position: relative;
- color: #3B86B7;
- }
- #score {
- position: absolute;
- top: 20px;
- left: 20px;
- font-weight: bold;
- }
- #ball {
- position: relative;
- display: block;
- width: 32px;
- height: 32px;
- background: #B0D18D;
- border-radius: 50%;
- }
- #paddle {
- position: absolute;;
- width: 100px;
- height: 30px;
- border-radius: 15px;
- background: #B0D18D;
- display: block;
- left: 20px;
- top: 550px;
- }
- .bumper {
- position: absolute;
- display: block;
- width: 32px;
- height: 32px;
- border-radius: 50%;
- background: #3B86B7;
- /* This makes the bumper's 'flash' animation a bit smoother */
- -webkit-transition: background 0.1s ease-in-out;
- -moz-transition: background 0.1s ease-in-out;
- -ms-transition: background 0.1s ease-in-out;
- -o-transition: background 0.1s ease-in-out;
- transition: background 0.1s ease-in-out;
- }
- #countdown, #gameOver {
- font-size: 48px;
- text-align: center;
- font-weight: bold;
- }
- #gameOver {
- display: none;
- }
Add Comment
Please, Sign In to add comment