Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesass
@mixin set-font-face($font-family, $file-path, $weight: normal, $style: normal ) {
  @font-face {
    font-family: $font-family;
    src:
      url(#{$file-path}.woff) format('woff2'), /* Chrome 26+, Opera 23+ */
      url(#{$file-path}.woff) format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-weight: $weight;
    font-style: $style;
    font-stretch: none;
  }
}

(info) note that EOT and SVG format fallbacks are no longer required


Web fonts in email

via http://templates.mailchimp.com/design/typography/

...