media queir font size code example
Example 1: how to make fonts respnsive
h1 {
font-size: clamp(16px, 5vw, 34px);
}
Example 2: how to make font responsive
html { font-size: calc(1em + 1vw); }
h1 {
font-size: clamp(16px, 5vw, 34px);
}
html { font-size: calc(1em + 1vw); }