Skip to content

Commit

Permalink
learning canvas element
Browse files Browse the repository at this point in the history
  • Loading branch information
iLikeGrape committed Nov 17, 2024
1 parent c191f20 commit 3acd9bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions spaceinvaders.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ body{
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: 45px;
margin: auto;
}
#canvas1{
border: 1px solid black;
margin: auto;
color: cornflowerblue;
}
1 change: 1 addition & 0 deletions spaceinvaders.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
</head>
<body>
<h1 id="title">Testing Testing 123</h1>
<canvas id="canvas1" width="300" height="150"></canvas>
</body>
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
width: 225px;
margin: auto;
}
.list{
#list{
margin: auto;
text-align: center;
}

0 comments on commit 3acd9bf

Please sign in to comment.