styl-font-face

1.0.1 • Public • Published

styl-font-face

Font-face mixin for stylus

Install

$ npm install styl-font-face --save

Usage

@import '../_font-face'
 
font-regular = 'Open Sans Regular'
 
    font-face(font-regular, 'fonts/', 'OpenSans-Regular-webfont', 'open_sansregular')
 
.element
    font-family font-regular;
 
 

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i styl-font-face

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • dmnsgn