Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

blockchain/bc-css-flags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Changing the path of the image

$flagsImagePath: "app/images";
$flagsImageName: "flags";
$flagsImageExtension: "png";

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

About

Countries flags styles using only one picture

Resources

License

Stars

Watchers

Forks

Packages

No packages published