calmp css code example
Example 1: clamp css
font-size: clamp(1rem, 2.5vw, 2rem);
font-size: clamp(1.5rem, 2.5vw, 4rem);
font-size: clamp(1rem, 10vw, 2rem);
Example 2: clamp margin
margin: clamp(0.5vw, 1.5vw, 2vw);
font-size: clamp(1rem, 2.5vw, 2rem);
font-size: clamp(1.5rem, 2.5vw, 4rem);
font-size: clamp(1rem, 10vw, 2rem);
margin: clamp(0.5vw, 1.5vw, 2vw);