1.0.1 • Published 7 years ago
bem-font-awesome v1.0.1
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
- Add the library to project dependencies:
npm i bem-font-awesome --save
- Add it as redefinition level
You're done :)
Usage
BEMJSON
{ block: 'fa', mods: { icon: '500px' } }
HTML
<span class="fa fa_icon_500px"></span>