Loading .gitignore +1 −0 Original line number Diff line number Diff line .DS_Store node_modules update README.md +4 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading bower.json +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" ] } flags/1x1/ad.svg +134 −1 File changed.Preview size limit exceeded, changes collapsed. Show changes flags/1x1/ae.svg +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
README.md +4 −3 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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 Loading
bower.json +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" ] }
flags/1x1/ae.svg +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>