Hacker News new | ask | show | jobs
by avallach 142 days ago
> how do we get large text to scale at a lower rate than body text

Express the header text size with CSS calc function with a sum of em (relative) and px (absolute) values. Depending on their ratio, element will be more or less scalable. 100% em -> scales like body text, 100% px -> no scaling.