font size scale
I've been experimenting with the method (found at https://every-layout.dev/rudiments/modular-scale/). It aims to create a perfect balance between font sizes by utilizing the previous size and multiplying by a ratio to decide the next size up. The ratio is decided based off of the root font size and the line height. In this case the root font size is
The scale looks something like this:
Taking the fact that there's a pattern in the scale which creates the balance between sizes, if i wanted to use
Let's say my primary header looks something like this:
would my secondary header look something like this?
i'd appreciate any help, thanks in advance.
1rem and the line height is 1.5 so the ratio is 1.5.The scale looks something like this:
Taking the fact that there's a pattern in the scale which creates the balance between sizes, if i wanted to use
clamp to adjust my font-sizes depending on the viewport size, how would i create a similar pattern and balance with the rem and vw properties for the preferred size?Let's say my primary header looks something like this:
would my secondary header look something like this?
i'd appreciate any help, thanks in advance.
