Clamp font-size for better mobile responsiveness

pull/1/head
Trond Ekseth 2022-11-18 22:26:15 +01:00
parent 6b06868a64
commit 6523a9e81f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ h2.bot {
background-color: #80cbc4; background-color: #80cbc4;
border: 1px solid black; border: 1px solid black;
padding: 20px; padding: 20px;
font-size: 30px; font-size: clamp(1rem, -0.8750rem + 8.3333vw, 2rem);
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
color: #073642 color: #073642