{"id":20494872,"url":"https://github.com/apiko-dev/meteor-flag-icon","last_synced_at":"2025-04-13T17:43:19.405Z","repository":{"id":33185645,"uuid":"36827448","full_name":"apiko-dev/meteor-flag-icon","owner":"apiko-dev","description":"CSS for vector based country flags!","archived":false,"fork":false,"pushed_at":"2016-03-18T20:02:11.000Z","size":1475,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-27T08:45:08.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lipis.github.io/flag-icon-css/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apiko-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-03T20:04:05.000Z","updated_at":"2017-02-02T08:56:22.000Z","dependencies_parsed_at":"2022-07-16T07:46:50.486Z","dependency_job_id":null,"html_url":"https://github.com/apiko-dev/meteor-flag-icon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-flag-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-flag-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-flag-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-flag-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apiko-dev","download_url":"https://codeload.github.com/apiko-dev/meteor-flag-icon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248756315,"owners_count":21156750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T17:43:37.548Z","updated_at":"2025-04-13T17:43:19.384Z","avatar_url":"https://github.com/apiko-dev.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flag-icon-css\n\nMeteor wrapper of [lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) — CSS for vector based country flags. See the [demo](http://lipis.github.io/flag-icon-css/).\n\nMade by [![Professional Meteor Development Studio](http://s30.postimg.org/jfno1g71p/jss_xs.png)](http://jssolutionsdev.com) - [Professional Meteor Development Company](http://jssolutionsdev.com)\n\n\n# Usage\n\nFirst of all you should add this package to your Meteor project: `meteor add jss:flag-icon`\n\nFor using the flags inline with text add the classes `.flag-icon` and `.flag-icon-xx` (where `xx` is the\n[ISO 3166-1-alpha-2 code](http://www.iso.org/iso/country_names_and_code_elements) of a country) to an empty `\u003cspan\u003e`. If you want to have a squared version flag then add the class `flag-icon-squared` as well.\n\n# Example:\n\n    \u003cspan class=\"flag-icon flag-icon-gr\"\u003e\u003c/span\u003e\n    \u003cspan class=\"flag-icon flag-icon-gr flag-icon-squared\"\u003e\u003c/span\u003e\n\nYou could also apply this to any element, but in that case you'll have to use the `flag-icon-background` instead of `flag-icon` and you're set. This will add the correct background with the following CSS properties:\n\n    background-size: contain;\n    background-position: 50%;\n    background-repeat: no-repeat;\n\nWhich 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 4 by 3 ratio or if it's squared add also the `flag-icon-squared` class.\n\n# License\nNote that this project is distributed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fmeteor-flag-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapiko-dev%2Fmeteor-flag-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fmeteor-flag-icon/lists"}