From 550eeaa3737203fc2379c41adfdab48a7e74bc09 Mon Sep 17 00:00:00 2001 From: alicestrt Date: Tue, 29 Sep 2020 14:18:08 +0200 Subject: [PATCH] made svg responsive --- static/css/style.css | 20 ++++++++++---------- templates/hello.html | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 926d6fd..2ad707a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,6 +1,6 @@ /* Everything*/ * { - border: 0px black solid; + border: 1px black solid; } /*Main areas*/ @@ -29,23 +29,23 @@ max-height:500px; /* circles */ #first_circle { - width: 80%; - height: 80%; + width: 100%; + height: 100%; } #second_circle { - width: 80%; - height: 80%; + width: 100%; + height: 100%; } -@media all and (max-width: 250px) { +@media all and (max-width: 350px) { #first_circle { - width: 4rem; - height: 4rem; + width: 100%; + height: 100%; } #second_circle { - width: 4rem; - height: 4rem; + width: 100%; + height: 100%; } } draggable { diff --git a/templates/hello.html b/templates/hello.html index 8a31f5f..378a7ba 100644 --- a/templates/hello.html +++ b/templates/hello.html @@ -6,19 +6,21 @@
Map area
-
- - - +
+
+ + hello +
-
- - - +
+
+ + hello boys +