Commit 8e4f501a authored by Panayiotis Lipiridis's avatar Panayiotis Lipiridis
Browse files

Merge branch 'master' into gh-pages

parents c54baed1 fe0cf93d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
.DS_Store
node_modules
update
+4 −3
Original line number Diff line number Diff line
@@ -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:
@@ -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
+8 −3
Original line number Diff line number Diff line
{
  "name": "flag-icon-css",
  "version": "0.3.0",
  "main": ["./css/flag-icon.css", "./flags/*"],
  "version": "0.4.0",
  "ignore": [
      "**/.*"
      "**/.*",
      "assets",
      "bower.json",
      "Gruntfile.coffee",
      "index.html",
      "LICENCE",
      "package.json"
  ]
}
+134 −1

File changed.

Preview size limit exceeded, changes collapsed.

+13 −1
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512" fill="#28ff09"><defs><clipPath id="a"><rect height="512" width="512" fill="#808080"/></clipPath></defs><g fill-rule="evenodd" clip-path="url(#a)"><rect height="512" width="192" fill="#f00"/><rect height="171.94" width="576" y="340.06" x="192"/><rect height="169.65" width="576" y="172.7" x="192" fill="#fff"/><rect height="172.7" width="576" x="192" fill="#009a00"/></g></svg>
 No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512" fill="#28ff09">
    <defs>
        <clipPath id="a">
            <path fill="#808080" d="M0 0h512v512h-512z"/>
        </clipPath>
    </defs>
    <g fill-rule="evenodd" clip-path="url(#a)">
        <path fill="#f00" d="M0 0h192v512h-192z"/>
        <path d="M192 340.06h576v171.94h-576z"/>
        <path fill="#fff" d="M192 172.7h576v169.65h-576z"/>
        <path fill="#009a00" d="M192 0h576v172.7h-576z"/>
    </g>
</svg>
Loading