Skip to content

🎏World Flags - CSS Module : Sprite sizes from 16 to 64. Styles: flat and glossy🌏

License

Notifications You must be signed in to change notification settings

uloga/worldflags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

46d00ce · Dec 1, 2017

History

13 Commits
Dec 1, 2017
Aug 20, 2016
Jan 28, 2017
Jun 21, 2017
Aug 20, 2016
Jan 28, 2017
Aug 21, 2016

Repository files navigation

WorldFlags

Styles: flat & glossy.

Sizes from 16 to 64

You can find examples at: WorldFlags Examples

Getting Started:

Paste the following code into the <head> section of your site's HTML.

<link rel="stylesheet" href="https://uloga.github.io/worldflags/css/flags.css">

After you get up and running, you can place WorldFlags just about anywhere with the <i> tag as shown in example below:

<!-- Extra Small f16 -->

<i class="f16_netherlands"></i>

<!-- Small f24 -->

<i class="f24_germany"></i>

<!-- Medium f32 -->

<i class="f32_england"></i>

<!-- Large f48 -->

<i class="f48_united_states"></i>

<!-- Extra Large f64 -->

<i class="f64_russia"></i>

Flag Styles

WorldFlags default style is set to flat, you can change it to glossy by copying and pasting following codes below into your main css file.

f16

[class^="f16_"], [class*=" f16_"] {
    background-image: url("https://uloga.github.io/worldflags/flags/f16-glossy.png");
}

f24

[class^="f24_"], [class*=" f24_"] {
    background-image: url("https://uloga.github.io/worldflags/flags/f24-glossy.png");
}

f32

[class^="f32_"], [class*=" f32_"] {
    background-image: url("https://uloga.github.io/worldflags/flags/f32-glossy.png");
}

f48

[class^="f48_"], [class*=" f48_"] {
    background-image: url("https://uloga.github.io/worldflags/flags/f48-glossy.png");
}

f64

[class^="f64_"], [class*=" f64_"] {
    background-image: url("https://uloga.github.io/worldflags/flags/f64-glossy.png");
}

About

🎏World Flags - CSS Module : Sprite sizes from 16 to 64. Styles: flat and glossy🌏

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published