Skip to content

Instantly share code, notes, and snippets.

@lucianobarauna
Last active May 7, 2018 19:08
Show Gist options
  • Save lucianobarauna/8d6fc3d69b33db4ab601fec0ef4a62c5 to your computer and use it in GitHub Desktop.
Save lucianobarauna/8d6fc3d69b33db4ab601fec0ef4a62c5 to your computer and use it in GitHub Desktop.
Example de font-face in sass
$pathFont: '../fonts/'
@font-face
font-family: 'apex_sansbold'
src: url('#{$pathFont}apexsans-bold-webfont.woff2') format('woff2'), url('#{$pathFont}apexsans-bold-webfont.woff') format('woff'), url('#{$pathFont}apexsans-bold-webfont.ttf') format('truetype')
font-weight: normal
font-style: normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment