css reponsive text code example
Example 1: responsive font-size
/* please refer to https://developer.mozilla.org/fr/docs/Web/CSS/clamp() */
font-size: clamp(40px, 10vw, 70px); /* clamp(MIN, VAL, MAX) */
Example 2: how to make fonts respnsive
h1 {
font-size: clamp(16px, 5vw, 34px);
}