Clamp font-size for better mobile responsiveness
parent
be2614c7fb
commit
6138a4cdd0
|
@ -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