The problem
The landing page in the video sizes its heading with one breakpoint. Below 768 px wide it is set to 39 px. At 768 it jumps straight to 61 px: 22 px bigger in one pixel of window width. A screen a little under the line gets the small heading, and one a little over gets the big one.
The fix
Replace the breakpoint with one line of CSS: font-size: clamp(2.44rem, 1.9rem + 2.39vw, 3.81rem). You give clamp() three sizes.
- Smallest. 2.44rem is the floor: 39 px.
- Preferred. 1.9rem + 2.39vw grows with the window. 1vw is 1% of the window's width.
- Largest. 3.81rem is the ceiling: 61 px.
Why it works
clamp() uses the preferred size while it sits between the other two, and stops at the floor or the ceiling when it would pass them. The preferred size adds 2.39% of the window's width, so the heading grows as the window grows. Drag the same window and the heading grows smoothly from 39 px on a 360 px screen to 61 px at 1280 px, with no jump anywhere. Narrower than 360 it holds at 39, and wider than 1280 it holds at 61.
How to apply it
Pick the heading's smallest and largest sizes, and the narrowest and widest screens they belong to. Write the two sizes in rem as the floor and the ceiling. The vw part is the size change over the width change: 22 px over 920 px is 2.39vw. The rem part makes the line start at the floor. Then drag your window from narrow to wide: the heading should grow without a single jump, and stop at both ends.



