Everything I know about Responsive Web Typography
Published on:Responsive typography is a tough nut to crack. This was the best method I could come up with when I first started creating responsive websites:
p {
font-size: 16px;
}
@media (min-width: 800px) {
p {
font-size: 18px;
}
}
/* Repeat for h1 - h6 and other type groups */
I've learned a lot more about typography since then and picked up best practices like using relative units, vertical rhythms and meaningful typography scales.
These new practices were wonderful. They made my websites look more pleasing to the eye. Implementing them, however, was a horrible experience.
I had to write complex code and I found myself struggling to create responsive websites under tremendous time pressure.
Now, after months of hacking, I've finally created a solution that I'm happy to share with you. It's called Typi.
Typi is great because it allows me to use the practices I've learned, and at the same time solves most of the problems I've encountered in 3 simple steps. Let me explain these three steps by walking you through the practices I use when working with responsive typography.