bc-css-flags

Countries flags styles using only one picture

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bc-css-flags
3233.0.09 years ago9 years agoMinified + gzip package size for bc-css-flags in KB

Readme

bc-css-flags Build Status

Installation

Bower

bower install --save bc-css-flags

NPM

npm install --save bc-css-flags

Other (not recommended)

Just download the dist folder.

Usage

The easiet way to get up and running is to keep the dist/ folder structure as is.
By default the styles expect images to be in ../img folder relative to css files. And this images folder is expected to contain: 1)flags@2x.png. 2)flags.png.
You can change this behavior by importing dist/bc-css-flags.scss into your own Sass files, and changing some of its variables before importing.
$flagsImagePath: "app/images";

@import "bower_components/bc-css-flags/dist/bc-css-flags.scss"