Skip to content

Commit 0bdd400

Browse files
authored
Merge pull request #13 from NotStonee/testing
more style
2 parents c8b92b5 + bc97d65 commit 0bdd400

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<h1>Breakout</h1>
1212
<h3>Press spacebar to start</h3>
13-
<canvas width="400" height="500" id="game"></canvas>
13+
<canvas class='canvas' width="400" height="500" id="game"></canvas>
1414
<script src="script.js"></script>
1515
</body>
1616

style.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ html, body {
44
}
55

66
body {
7-
background: black;
87
background-image: url('https://t4.ftcdn.net/jpg/02/15/94/83/360_F_215948377_kgIhNUy4X0iYsyUfYd9KKIViSPOxclbC.jpg');
98
background-repeat: no-repeat;
109
background-attachment: fixed;
1110
background-size: 100% 100%;
1211
}
1312

14-
canvas {
15-
background:black;
16-
border: 2px solid black;
13+
.canvas {
14+
background-color:black;
15+
border: 10px solid lightgrey;
1716
display: flex;
1817
align-items: center;
1918
justify-content: center;

0 commit comments

Comments
 (0)