Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @mixin fontMixin($fontFamily, $path, $fontWeight: normal, $fontStyle: normal) {
- @font-face {
- font-family: $fontFamily;
- src: url('#{$path}.eot?#iefix') format('embedded-opentype'), url('#{$path}.otf') format('opentype'),
- url('#{$path}.woff') format('woff'), url('#{$path}.ttf') format('truetype'), url('#{$path}.svg##{$fontFamily}') format('svg');
- font-weight: $fontWeight;
- font-style: $fontStyle;
- }
- }
Add Comment
Please, Sign In to add comment