News for hackers. Stuff that matters.
Re:Writ – Opinionated, classless styles for semantic HTML by err4nt on Tuesday August 25, 2015 @09:52AM (#10116437)
I come from a graphic design background with training in typography. While you _can_ specify font-size in any units CSS understands, typography as a field has traditionally used PT and EM units for sizing and spacing.

- for container size I use % or PX

- for margins, spacing, and padding I use EM or PX

- for text sizes I use PT or %

Here's a short, good primer for typography on the web: http://www.markboulton.co.uk/journal/five-simple-steps-to-be...

There are no comments on this comment yet.