diff --git a/assets/styles/style.css b/assets/styles/style.css index 37da56a..b5e3f95 100644 --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -5,17 +5,24 @@ html, body, img, #container { height: 100%; } -div { +#container { position: absolute; left: 0px; top: 0px; z-index: 500; + text-align: center; } .button { + display: inline-block; padding: 10px; border-radius: 10px; - margin: auto; + + position: relative; + top: 50%; + -webkit-transform: translateY(50%); + -ms-transform: translateY(50%); + transform: translateY(50%); background: rgba(0, 0, 0, .5); color: white; diff --git a/index.html b/index.html index e92000c..a95d3e0 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ --> - +
@@ -75,7 +75,7 @@ }); engine.rain([ [3, 2, 2] ], 100); }; - image.src = 'assets/images/africa.png'; + //image.src = ''; image.crossOrigin = 'anonymous'; });