Projektmanagement-Game/public/css/game.css
H4CK3R-01 83855f9acd - CSS background instead of pixi.js background
- Refactoring pixi.js code
- Resize game board on browser resize
2021-06-01 13:24:52 +02:00

13 lines
396 B
CSS

#game {
height: 100%;
width: 100%;
grid-column-start: 1;
display: flex;
justify-content: center;
align-items: center;
background: url(/img/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover; /* For WebKit*/
-moz-background-size: cover; /* Mozilla*/
-o-background-size: cover; /* Opera*/
background-size: cover; /* Generic*/
}