hard20 pts · first answer countstypographyweb-typography
Size from a clamp rule
With a 16px root font size, what font size does this rule give at a 1000px-wide viewport?
h1 {
font-size: clamp(1rem, 0.5rem + 2vw, 2rem);
}Discussion 0
Join free to post in the discussion.
Related questions
- What is kerningGraphic Designer
- Too many fonts on a posterGraphic Designer
- Serif or sans serifGraphic Designer
- What is leadingGraphic Designer
- Spacing out an all-caps headingGraphic Designer
- Why x-height mattersGraphic Designer
- A lonely word at the end of a paragraphGraphic Designer
- Font licencesGraphic Designer