Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lafeber/world-flags-sprite
- Owner: lafeber
- License: other
- Created: 2010-03-15T09:27:41.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T20:55:14.000Z (over 1 year ago)
- Last Synced: 2024-10-19T22:12:06.061Z (about 2 months ago)
- Language: CSS
- Homepage: http://cheesewiki.com/
- Size: 1.81 MB
- Stars: 592
- Watchers: 28
- Forks: 167
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - lafeber/world-flags-sprite - A sprite of all the worlds' flags. (CSS)
- awesome - lafeber/world-flags-sprite - A sprite of all the worlds' flags. (CSS)
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