From 80773eac031bcb93b6b7708d747b7cd2dd8b1a8f Mon Sep 17 00:00:00 2001 From: psy <psy@darmstadt.ccc.de> Date: Sat, 27 Mar 2021 10:08:24 +0100 Subject: [PATCH] make qr code fullscreen --- index.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index afb7c4c..a367456 100644 --- a/index.html +++ b/index.html @@ -3,14 +3,13 @@ <title>QR</title> </head> <style> - #qrcode { - position: absolute; - top: 50%; - left: 50%; - margin-top: -50px; - margin-left: -50px; - width: 100px; - height: 100px; + #qrcode > * { + padding: 0 5%; + max-width:90%; + max-height:90%; + width: 100%; + height: 100%; + object-fit: contain; } footer { -- GitLab