Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lafeber/world-flags-sprite

A sprite of all the worlds' flags.
https://github.com/lafeber/world-flags-sprite

Last synced: about 2 months ago
JSON representation

A sprite of all the worlds' flags.

Awesome Lists containing this project

README

        

# The flags of all countries in the world in one sprite

Include 1 css file and have all the worlds' flags on your site. Tell everyone who uses a lot of country flags to use this link, so it will be in everyone's cache!

## Example usage:

In the head of your html file:

```html

```

In the body of your html file:

```html


  • Argentina

  • Australia

  • Austria

  • ...

```
Or:
```html

  • Argentina

  • Australia

  • Austria

  • ...

```

The countries corresponding to the codes can be found at: [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
and [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)

If a previously visited site uses this same code, the file is already in the cache of the user and doesn't need to be downloaded again.

See *the cheese wiki*: http://www.cheesewiki.com/ for an example