Responding to Language

Jordan Moore takes a look at using the lang attribute within the HTML tag as the trigger to update the line lengths, a really great follow up to Logical Breakpoints.

Imagine a scenario where we had a blog that has a language switcher between English and German. Generally German words are longer than English so we might want to set the reading length on the German version of our article to a slightly wider value.

An excerpt from Responding to Language

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.