From baf92820c994a46a66a61cf0d2f2a3bc1ec07076 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 15 Dec 2018 19:56:13 +0300 Subject: starfield algorithm, css on snow/stars html --- starfield/stars.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'starfield/stars.html') diff --git a/starfield/stars.html b/starfield/stars.html index e763898..9cea324 100644 --- a/starfield/stars.html +++ b/starfield/stars.html @@ -18,10 +18,24 @@ html{ box-sizing: border-box; } -#stars{ +.canvas-container{ width: 100%; height: 100%; + position: absolute; + top: 0; + left: 0; + margin: 0; + padding: 0; + overflow: hidden; } + +#stars{ + position: absolute; + margin: 0; + padding: 0; + bottom: 0; +} + - +
+ +
-- cgit v1.2.3