From d920b037fce8c55df689846df102e5b6df186c39 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Tue, 15 Dec 2020 17:59:05 +0100 Subject: [PATCH] draw polygons and WIP flywheel --- index.html | 147 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 129 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index fbb561d..197ce0c 100644 --- a/index.html +++ b/index.html @@ -14,20 +14,20 @@ width:100vw; height:100vh; } - svg rect{ + svg .rect{ stroke: red; stroke-width: .2cm; fill: none; transition: stroke .5s; } - svg rect.locked{ + svg .rect.locked{ stroke:blue; opacity: 1; transition: opacity .5s; } - svg rect.hide{ + svg .rect.hide{ opacity:0; } @@ -43,7 +43,10 @@ bottom:0; right:0; z-index: -1; + opacity:0; + transition:opacity 10s; } + @@ -57,10 +60,124 @@