maximum font size css code example Example: how to set font max width in css div { font-size: clamp(16px, 3vw, 32px); }