commit 184441266ec76e7326da8998effa3ff989c3eb30 parent 98172ba074d256a9ee302038f6a9ed4e0e20a17e Author: Yuval Langer <yuval.langer@gmail.com> Date: Sat, 9 Apr 2022 21:05:25 +0300 Add CSS. Diffstat:
A | html/spinning-shapes/style.css | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/html/spinning-shapes/style.css b/html/spinning-shapes/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; +}