Skip to content

Gem with country flags in one sprite with CSS prepared for the Rails 3.1 asset pipeline

Notifications You must be signed in to change notification settings

pranik/world_flags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The flags of all countries in the world in one sprite.
Original work by: https://github.com/lafeber/world-flags-sprite

I've just corrected a small mistake in the original CSS and bundled it all up to be easily used with the Rails 3.1 asset pipeline.

Installation:

    gem 'world_flags', :git => 'git://github.com/djonasson/world_flags.git'

    In your app/assets/stylesheets/application.css, require the CSS that you
    want to use:

    = require world_flags/flags16
    or
    = require world_flags/flags32

Usage:

  <ul class="f32">
    <li class="flag ar">Argentina</li>
    <li class="flag au">Australia</li>
    <li class="flag at">Austria</li>
  </ul>

About

Gem with country flags in one sprite with CSS prepared for the Rails 3.1 asset pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published