masakudamatsu / line-height-picker

A front-end web app that helps web designers/developers pick the best line-height value for their websites
https://line-height-picker.vercel.app
MIT License
2 stars 1 forks source link

Responsive layout #200

Closed masakudamatsu closed 4 years ago

masakudamatsu commented 4 years ago

Side margin increases by 1.5 times at 480px (= 320px x 1.5)

Column width stops expanding at 33em (518.062px if base font size is 16px)

Side margin further increases by 1.5 times at 720px (= 480px x 1.5)

Base font-size increases by (21/18) at 728px

Two column layout from 799px

Side margin increases by 1.5 times at 1080px (=720px x 1.5)

Landing Page

masakudamatsu commented 4 years ago

Breakpoint for base font-size

It should be the threshold for tablet devices, not laptops.

The reason why we have set x-height to match with medium.com is to take advantage of the user's familiarity to letter size. If so, we should also follow the breakpoint for font-size.

So we set 728px.

masakudamatsu commented 4 years ago

For very large screens, we delegate the task to issue #204