mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #479] provide svg "sprite" (symbol) #292
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tttp on GitHub (Aug 26, 2018).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/479
Hi,
In all modern browsers, you can load directly all the flags from one big svg (each of them being defined as a symbol) and then use them with use href="#flag-iso".
I've done if for the eu countries and wrote a quick demo:
https://techtothepeople.github.io/eucountries/
If there is an interest, I'm happy to finetune my gulp scripts and PR.
@lipis commented on GitHub (Sep 15, 2018):
Not sure if it's worth it for this project.. as this sprite will be quite huge..