Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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) */
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #responsive
ADD COMMENT
Topic
Name
4+8 =