When viewing a site like the mobile version of , I noticed that the text size adjusts responsively, but the active font-size
remains constant at 34px.
To see how this works on different screen sizes, check out this comparison.
Even when changing the window size significantly, the text on the site maintains its proportionality to the screen. Words that are on the second line at 500px remain there regardless of whether the screen width is drastically different (200px vs 2000px). The distance from the last letter to the right edge of the screen is consistent across all screen sizes.
Despite using pixel-based font sizing, the word placement doesn't seem to be dependent on screen size as expected on gofundme.com.
How do they achieve this effect?