Skip to content

hmbilal/flag-icons

Repository files navigation

Flag Icons

Install this repository using bower or download zip file.

bower install --save flag-icons

Include css file in your html file or wherever you want.

<link href="flag-icons.min.css" rel="stylesheet">

To display a flag, you need to add fli class and the country class fli-xx.

<span class="fli fli-gb"></span> <!-- Great Britain -->

You can change size of flags upto 10x by adding fli-nx class.

<span class="fli fli-cr"></span>    <!-- Cyprus - normal size -->

<span class="fli fli-gb fli-3x"></span>    <!-- Great Britain - 3x bigger -->

<span class="fli fli-in fli-5x"></span>    <!-- India - 5x bigger -->

<span class="fli fli-pk fli-7x"></span>    <!-- Pakistan - 7x bigger -->

<span class="fli fli-ar fli-10"></span>    <!-- Argentina - 10x bigger -->

Demo

http://hmbilal.github.io/flag-icons/

Hacktoberfest

  • Please read CONTRIBUTING.md file for guidelines on making contributions.
  • Please feel free to browse the issues with label hacktoberfest.
  • You can report issues as well with the suitable labels.
  • Create pull requests with issue numbers.

Support this repository by dropping a star.

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •