Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/redgluten/webfonts

A sass partial to quickly include webfonts.
https://github.com/redgluten/webfonts

Last synced: about 1 month ago
JSON representation

A sass partial to quickly include webfonts.

Awesome Lists containing this project

README

        

# webfonts

A sass partial to quickly include webfonts.

## Installation

Use [Bower](http://bower.io/):
`bower install webfonts`

## Usage

Import the partial in your Sass file:
`@import 'path_to_bower_components/webfonts/webfonts';`

Then include your font using the following scheme:
`@include web-fonts('Family Name', 'path/to/fontfile', 'font-weight', 'font-style');`

The `font-weight` and `font-style`parameters are optional.