Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README due to unavailability of css files closes #63 #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# 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!
Include 1 image, 1 css file and have all the worlds' flags on your site.

## Example usage:

Copy over the flags32.png and flags32-both.css on your site where you want to use flags.

In the head of your html file:

```html
<link
rel="stylesheet"
type="text/css"
href="//github.com/downloads/lafeber/world-flags-sprite/flags32.css"
href="/your_css_path/flags32.css"
/>
```

Expand All @@ -36,7 +38,4 @@ Or:

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
Some territories and organisations have been added on top of the list. You may use their flag by adding an underscore to their name. i.e. `_African_Union`.