Type Sizing

A A A A A A A A A A
3rem (48px) 2.75rem (44px) 2.25rem (36px) 2rem (32px) 1.75rem (28px) 1.5rem (24px) 1.25rem (20px) 1rem (16px) .875rem (14px) .75rem (12px)
.f-headline .f-subheadline .f1 .f2 .f3 .f4 .f5 .f6 .f7 .f8

.f-headline

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f-subheadline

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f1

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f2

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f3

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f4

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f5

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f6

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f7

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

.f8

Lorem ipsum dolor sit amet, consetetur sadipscing elitr

/*

   TYPE SCALE

   Base:
    f = font-size

   Modifiers
     1 = 1st step in size scale
     2 = 2nd step in size scale
     3 = 3rd step in size scale
     4 = 4th step in size scale
     5 = 5th step in size scale
     6 = 6th step in size scale
     7 = 7th step in size scale
     8 = 8th step in size scale

   Media Query Extensions:
     -ns = not-small
     -m  = medium
     -l  = large
*/

/*
 * For Hero/Marketing Titles
 *
 * These generally are too large for mobile
 * so be careful using them on smaller screens.
 * */

.f-headline { font-size: 3rem; }
.f-subheadline { font-size: 2.75rem; }

/* Type Scale */

.f1 { font-size: 2.25rem; }
.f2 { font-size: 2rem; }
.f3 { font-size: 1.75rem; }
.f4 { font-size: 1.5rem; }
.f5 { font-size: 1.25rem; }
.f6 { font-size: 1rem; }
.f7 { font-size: .875rem; }
.f8 { font-size: .75rem; }


@media (--breakpoint-not-small){
  .f-headline-ns { font-size: 3rem; }
  .f-subheadline-ns { font-size: 2.75; }
  .f1-ns { font-size: 2.25rem; }
  .f2-ns { font-size: 2rem; }
  .f3-ns { font-size: 1.75rem; }
  .f4-ns { font-size: 1.5rem; }
  .f5-ns { font-size: 1.25rem; }
  .f6-ns { font-size: 1rem; }
  .f7-ns { font-size: .875rem; }
  .f8-ns { font-size: .75rem; }
}

@media (--breakpoint-medium) {
  .f-headline-m { font-size: 3rem; }
  .f-subheadline-m { font-size: 2.75; }
  .f1-m { font-size: 2.25rem; }
  .f2-m { font-size: 2rem; }
  .f3-m { font-size: 1.75rem; }
  .f4-m { font-size: 1.5rem; }
  .f5-m { font-size: 1.25rem; }
  .f6-m { font-size: 1rem; }
  .f7-m { font-size: .875rem; }
  .f8-m { font-size: .75rem; }
}

@media (--breakpoint-large) {
  .f-headline-l { font-size: 3rem;}
  .f-subheadline-l { font-size: 2.75; }
  .f1-l { font-size: 2.25rem; }
  .f2-l { font-size: 2rem; }
  .f3-l { font-size: 1.75rem; }
  .f4-l { font-size: 1.5rem; }
  .f5-l { font-size: 1.25rem; }
  .f6-l { font-size: 1rem; }
  .f7-l { font-size: .875rem; }
  .f8-l { font-size: .75rem; }
}