diff --git a/default.css b/default.css index 90107a7..cf6e7eb 100644 --- a/default.css +++ b/default.css @@ -22,6 +22,7 @@ body { padding: 8px; line-height: 21px; display: inline-block; + text-align: right; } #top { @@ -34,9 +35,19 @@ body { } #main { + margin: 0px 120px; + display: flex; /*background: #1e2030;*/ } +.canvas { + width: 780px; + height: 600px; + align-items: center; + justify-content: center; + display: flex; +} + .cardStats { font-size: 18px; } diff --git a/index.html b/index.html index a399945..b1eb112 100644 --- a/index.html +++ b/index.html @@ -7,20 +7,22 @@

Pong

- - - -

Left Paddle Height:

Right Paddle Height:

@@ -28,8 +30,10 @@

Snake

- - +
+ + +

Snake Head Location:

Food Location:

View Code