Skip to content

maciejsaw/circle-country-flags-sprite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circle country flags sprite

All country flags in circle format and PNG sprite in 24x24-@2x size. Easily customizable via SCSS params and imagemagick SVG to PNG command. The flags images come from repo https://github.com/HatScripts/circle-flags

How to use the sprite?

Go into "dist" folder and copy the image and CSS to your project

How to create sprite in a different size?

  1. Download or clone the project
  2. npm install
  3. Use imagemagick to convert SVG to PNG in desired size (see info.md in src/imagemagick) and create a sprite for example with https://instantsprite.com/
  4. Place the sprite file in dist folder replacing the existing sprite file
  5. Modify the SCSS file to match the desired size
  6. npm run sass
  7. Go to dist folder and get the sprite css code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages