Clamp font-size for better mobile responsiveness
parent
6b06868a64
commit
6523a9e81f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue