Created
February 12, 2017 17:36
-
-
Save rovizon/8c41838a62c3b65ed99dde686ee6f519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Connect fonts | |
@mixin cfont($name, $dir, $file-name){ | |
font-family: '#{$name}'; | |
src: url('../fonts/#{$dir}/#{$file-name}.eot'); | |
src: local('☺'), | |
url('../fonts/#{$dir}/#{$file-name}.woff') format('woff'), | |
url('../fonts/#{$dir}/#{$file-name}.ttf') format('truetype'), | |
url('../fonts/#{$dir}/#{$file-name}.svg') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment