Skip to main content
InterviewHubPRO
Section Overview
Q45

Question 45 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

90%
CSS3 & Modern Layouts (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Modern Responsive Typography: `clamp()` and Fluid Viewport Units (`dvh`, `svh`).

senior LevelSystem DesignData Structures

In Simple Words:

  • clamp(min, preferred, max): Creates fluid typography and spacing that scales smoothly with viewport width without media query breakpoints: font-size: clamp(1rem, 2.5vw + 0.5rem, 2.5rem);
  • Dynamic Viewport Units:
    • dvh (Dynamic Viewport Height): Adapts dynamically as mobile URL bars expand or collapse.
    • svh (Small Viewport Height): Height assuming URL bars are visible.
    • lvh (Large Viewport Height): Height assuming URL bars are hidden.