commit 4acc0dcc01c500b8fc3e812951d27c4e0b730add parent 84c33fa0b56ecde899011bcaa01c81731d8c26f4 Author: Yuval Langer <yuval.langer@gmail.com> Date: Sat, 19 Mar 2022 22:54:06 +0200 Add missing style. Diffstat:
A | html/the-dancing-polygon-screensaver/style.css | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/html/the-dancing-polygon-screensaver/style.css b/html/the-dancing-polygon-screensaver/style.css @@ -0,0 +1,11 @@ +/* Stolen from https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript/Create_the_Canvas_and_draw_on_it */ + +* { + padding: 0; + margin: 0; +} +canvas { + background: #000; + display: block; + margin: 0 auto; +}