You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.
Alice Rose edited this page Jun 26, 2018
·
1 revision
Typography
Stretchy type
Rather than jumping between font sizes at different breakpoints, we can use so-called "css locks" to set a starting font size and line height, then scale it to an upper size proportionally with the viewport until an upper limit is reached at a particular viewport size (or alternatively, continue scaling up forever).
A CSS lock is a Responsive Web Design technique that lets you transition smoothly between two values, depending on the current viewport size, rather than jump straight from one value to the other.