Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/redgluten/webfonts
- Owner: redgluten
- Created: 2014-12-18T18:15:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-23T16:22:29.000Z (about 10 years ago)
- Last Synced: 2024-11-10T03:38:53.105Z (2 months ago)
- Language: CSS
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.