diff --git a/README.md b/README.md index 621e9b08..c47ad2da 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,15 @@ First, you need to import css: import "/node_modules/flag-icons/css/flag-icons.min.css"; ``` +or use CDN: + +```html + +``` + For using the flags inline with text add the classes `.fi` and `.fi-xx` (where `xx` is the [ISO 3166-1-alpha-2 code](https://www.iso.org/obp/ui/#search/code/) of a country) to an empty ``. If you want to have a squared version flag then add the class `fis` as well. Example: ```html