From 6138a4cdd08963fcda5aa58aba01c826f3c3e2ba Mon Sep 17 00:00:00 2001 From: Trond A Ekseth Date: Fri, 18 Nov 2022 22:26:15 +0100 Subject: [PATCH] Clamp font-size for better mobile responsiveness --- css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 4c39f9d..f657232 100644 --- a/css/style.css +++ b/css/style.css @@ -20,7 +20,7 @@ h2.bot { background-color: #80cbc4; border: 1px solid black; padding: 20px; - font-size: 30px; + font-size: clamp(1rem, -0.8750rem + 8.3333vw, 2rem); text-align: center; cursor: pointer; color: #073642