GithubHelp home page GithubHelp logo

imclab / flag-webicons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seanherron/flag-webicons

0.0 2.0 0.0 3.64 MB

Flag Webicons are flexible SVG icons of flags from every sovereign country on the planet. Hello future!

flag-webicons's Introduction

Flag Webicons Set

Flag Webicons Set is a set of resolution-independent flag icons from across the world for use on your website. They use feature-detected SVG graphics (with PNG fallbacks) to display the flags over their appropriate negatively indented anchor titles.

Flags are pulled from the list of SVG Soverign State Flags on Wikimedia Commons. If you notice a flag missing from a soverign state, submit a pull request or open an issue here on GitHub.

Enjoy Flag Webicons!

Based on FC Webicons by http://fairheadcreative.com. (Code is CC-Attrib; attrib to http://fairheadcreative.com)

Usage

  1. Include flag-webicons.css in your HTML
  2. Use the following code to include a flag:
<a class="flag-webicon senegal" href="http://www.gouv.sn/">République du Sénégal</a>

You can also add the following classes to change the size of the logo:

<a class="flag-webicon senegal xsmall" href="http://www.gouv.sn/">République du Sénégal</a>
<a class="flag-webicon senegal small" href="http://www.gouv.sn/">République du Sénégal</a>
<a class="flag-webicon senegal" href="http://www.gouv.sn/">République du Sénégal</a>
<a class="flag-webicon senegal large" href="http://www.gouv.sn/">République du Sénégal</a>
<a class="flag-webicon senegal xlarge" href="http://www.gouv.sn/">République du Sénégal</a>

Note that flags are kept at the aspect ratio Wikimedia Commons provides. If you need all flags to take up the same amount of space, you should specify that in your CSS.

Credits

Created by Sean Herron Based on FC Webicons by Fairhead Creative.

flag-webicons's People

Contributors

arnaudgaudin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.