Skip to content

Instantly share code, notes, and snippets.

@lzielinski03
Last active July 25, 2022 13:46
Show Gist options
  • Save lzielinski03/22ffa07c935380d61ad28d9c99390195 to your computer and use it in GitHub Desktop.
Save lzielinski03/22ffa07c935380d61ad28d9c99390195 to your computer and use it in GitHub Desktop.
Responsive Typography

Responsive Design

video https://vimeo.com/156203722

General

  1. Breakpoints
  2. line-height

Typography

  1. Responsive Typography: The Basics
  2. The typographic scale
  3. More Meaningful Typography
  4. A More Modern Scale for Web Typography / Example
  5. Truly Fluid Typography With vh And vw Units
  6. Everything I know about Responsive Web Typography
  7. The Elements of Typographic Style Applied to the Web

Line height

  1. Incremental leading
  2. Using The Golden Ratio and REM’s
  3. Secret Symphony: The Ultimate Guide to Readable Web Typography
  4. Scale & Rhythm
  5. Why is Vertical Rhythm an Important Typography Practice?
  6. A guide to vertical rhythm
  7. Aesthetic Sass 3: Typography and Vertical Rhythm
  8. CSS Baseline: The Good, The Bad And The Ugly
  9. Single-direction margin declarations
  10. Precise control over responsive typography
  11. 4 Simple Steps to Vertical Rhythm
  12. Implementing baseline rhythm in CSS
  13. Aligning type to baseline the right way using SASS
  14. Size Matters: Balancing Line Length And Font Size In Responsive Web Design
  15. Tools And Resources
  16. Typography for beginners: type scale, line height & lengths
  17. 3 Typography Tips For A More Comfortable Read
  18. Web typography is broken. Here’s how we can fix it
  19. Aligning type to baseline the right way using SASS
  20. The masochism of implementing CSS baseline
  21. Implementing baseline rhythm in CSS

CSS units##

  1. px at the Root, rem for Components, em for Text Elements
  2. Getting Started With CSS calc()
  3. Viewport Sized Typography

Mobile first

  1. How To Write Mobile-first CSS
  2. Responsive Design
  3. Use legible font sizes

Flexbox

  1. Designing A Product Page Layout with Flexbox

Redux

  1. An Introduction To Redux

Tools

  1. Test and compare more than 2200 typefaces
  2. Modular Scale generator
  3. Modular Scale generator
  4. Web Font Specimen
  5. Golden Ratio Typography Calculator
  6. Universal Typography
  7. Benton Modern, A Case Study On Art-Directed Responsive Web Typography
  8. typecast

Knowledge

Using a modular scale on the web means choosing numbers from the scale for type sizes, line height, line length, margins, column widths, and more.

Apply text-rendering: optimizeLegibility. This property-value pair enables a font’s native kerning instructions, which means that letters will be spaced exactly as the type designer intended.

based my scale on a relative type size of 1em for the tag, which (when you reset font-size to 100%) will result in a size equivalent to 16px in virtually all browsers.

For the web it’s 16px (1em) text and a measure of 60–75 characters(66 characters prefered) long, while headings should be 48px (3em).

35–40 characters per line on a typical smartphone seems to me to provide the best balance for more legible and readable text.

Website with consistent short, punchy titles may be better suited to a typographic scale with a high ratio (e.g. r = 4). This custom scale would add impact to the page titles, while remaining in harmony with the other elements on the page.

Unlike responsive typography, which changes only at set breakpoints, fluid typography resizes smoothly to match any device width. It is an intuitive option for a web in which we have a practically infinite number of screen sizes to support.

To increase readability and compensate for the loss in size due to distance, we increase the font size.

For a longer measure, use slightly greater leading, for a shorter measure, use slightly smaller leading.

Goals

  • The metric size of a desktop typeface needs to be bigger than the sizes used for printed matter.
  • Flexibility of a double-stranded modular scale.
  • Don’t use pixels for font-sizes.
  • Fluid Typography.
  • Minimum And Maximum Font Sizes.
  • Maintaining Ideal Line Length.
  • Maintaining Vertical Rhythm.

Steps

1- Prepare your own web font specimen / Example

Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment