Skip to content

Instantly share code, notes, and snippets.

@thanegill
thanegill / font-face mixin
Last active October 21, 2019 18:35 — forked from paul-english/gist:1340239
SCSS: font-face mixin
@mixin font-face($font-family, $url) {
@font-face {
font-family: '#{$font-family}';
src: url('#{$url}.eot');
src: url('#{$url}.eot?#iefix') format('embedded-opentype'),
url('#{$url}.woff') format('woff'),
url('#{$url}.ttf') format('truetype'),
url('#{$url}.svg') format('svg');
font-weight: normal;
font-style: normal;
//: Playground - noun: a place where people can play
// Got most of it from:
// https://developer.apple.com/sample-code/wwdc/2015/downloads/Crustacean.zip
// This is in the Protocol-Oriented Programming in Swift talk
// Pay special attention to the Heterogeneous Equality section, on page 2.
//
// Most comments directly copy/pasted from Crustacean Playground
protocol Account {

Keybase proof

I hereby claim:

  • I am thanegill on github.
  • I am thanegill (https://keybase.io/thanegill) on keybase.
  • I have a public key ASDfMBXNvyPICXwkAmMVANM-jw3SXZVAE6uvIlJkkjem1Qo

To claim this, I am signing this object: