From c5bf0f1a15b48dc3fd55d7243071f64bf12a9703 Mon Sep 17 00:00:00 2001 From: Ruben Date: Fri, 15 Dec 2017 16:52:36 +0100 Subject: [PATCH] Bouncing box animation --- artwork2.html | 73 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 68 insertions(+), 5 deletions(-) diff --git a/artwork2.html b/artwork2.html index a9525fb..a40d1f8 100644 --- a/artwork2.html +++ b/artwork2.html @@ -10,14 +10,77 @@ #viewbox{ background:white; position:absolute; - top:0; - left:0; - width:50%; - height:100%; + width: 17vw; + height: 17vw; + } + + .visible #viewbox{ + top: 0 !important; + left: 0 !important; + width: 100% !important; + height: 100% !important; } - +
+ +