Using stylus to build a css sprite. The national flag over 100 countries in images.
The icon element must be added a class country-icon
. And a relative national flag class country-XX
, such as China is "CN".
The empty blocks means is that I haven't fount out its country name.I'd appreciate you if you complemented remaining icons.You can add a country code to matrix in the stylus file country.styl
.And You can add a icon to CSS Sprite what contain to icon.png
and icon.psd
if the icon is no exsiting in the icon.png
.