Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: