Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lipis/flag-icon-css
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis committed Nov 3, 2013
2 parents 9aac684 + ed17000 commit 87196ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ CSS for vector based country flags. See the
Usage
-----

For using the flags inline with text add the classes `.flag-icon` and `.flag-icon-xx`
(where `xx` is the
For using the flags inline with text add the classes `.flag-icon` and
`.flag-icon-xx` (where `xx` is the
[ISO 3166-1-alpha-2 code](http://www.iso.org/iso/country_names_and_code_elements)
of a country) to an empty `<span>`. If you want to have a squared version flag
then add the class `flag-icon-squared` as well. Example:
Expand All @@ -25,7 +25,8 @@ correct background with the following CSS properties:
background-repeat: no-repeat;

Which means that the flag is just going to appear in the middle of an element, so
you will have to set manually the correct size of 3x4 ratio or if it's squared add also the `flag-icon-squared` class.
you will have to set manually the correct size of 4 by 3 ratio or if it's squared
add also the `flag-icon-squared` class.


Development
Expand Down
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ <h1>flag-icon<span class="text-muted">-css</span></h1>
</p>
<p>
<a href="https://github.com/lipis/flag-icon-css" class="btn btn-success btn-lg">
<span class="icon-github"></span>
View Project
<span class="icon-github"></span> View Project
</a>
<a href="https://github.com/lipis/flag-icon-css/archive/master.zip" class="btn btn-primary btn-lg">
<span class="icon-download-alt"></span>
Download
<span class="icon-download-alt"></span> Download
</a>
</p>
<p>
Expand Down

0 comments on commit 87196ff

Please sign in to comment.