Solution: Fluid Heading Letter-Spacing
Let’s implement fluid letter-spacing for headings by interpolating between min and max values using CSS variables and viewport width.
We'll cover the following...
We'll cover the following...
Problem description
Given an <h1>
element, write CSS rules to:
Define CSS custom properties
--min-letter-spacing
(-0.5px
) and--max-letter-spacing
(1px
). ...