Nougat Predominant Middleware
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

bem-font-awesome

1.0.1 • Public • Published

bem-font-awesome

BEM port of Font Awesome.

Content

fa/
    fa.css # common styles
    _icon/
        fa_icon_500px.css
        fa_icon_address-book-o.css
        fa_icon_address-book.css
        fa_icon_adjust.css
        fa_icon_adn.css
        # and so on

Installation

  1. Add the library to project dependencies:
    npm i bem-font-awesome --save
    
  2. Add it as redefinition level

You're done :)

Usage

BEMJSON

{ block: 'fa', mods: { icon: '500px' } }

HTML

<span class="fa fa_icon_500px"></span>

install

npm i bem-font-awesome

Downloadsweekly downloads

18

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar