...

/

Problem: Multi-Breakpoint Rhythm Tuner

Problem: Multi-Breakpoint Rhythm Tuner

Try to use media queries to update a rhythm variable across three breakpoints for consistent vertical spacing.

Problem description

Design a responsive sitewide vertical rhythm that adjusts at three viewport breakpoints: small (<480px), medium (480px–768px), and large (>768px). Use CSS custom properties and @media queries to switch the baseline grid unit between 1rem, 1.5rem, and 2rem ...