Skip to content

An icon font that allows you to create a scalable cityscape with HTML5 and CSS3.

Notifications You must be signed in to change notification settings

nydame/Cityscape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cityscape

An icon font that allows you to create a scalable cityscape with HTML5 and CSS3. View demo at http://codepen.io/nydame/pen/nzfqc. I created Cityscape vector files using Adobe Illustrator, and generated the font, css and js files with Keyamoon's IcoMoon app.

How to use

Cityscape is easy to use.

  1. Wherever you want to put a Cityscape character, create an empty span in your HTML like so:
    <span aria-hidden="true" data-icon="xxx"></span>

    substituting the desired Unicode entity for xxx. (See chart.)
  2. Upload cityscape.css to your website and either link to it in the head element of your HTML, or import it from another CSS file.
  3. Upload the cityscape-fonts folder alongside cityscape.css.
  4. [optional] Upload lte-ie7.js and link to it if you need to support older versions of Internet Explorer.

Unicode Entities

CharacterEntity
&#xe000;
&#xe001;
&#xe002;
&#xe003;
&#xe004;
&#xe005;
&#xe006;
&#xe007;
&#xe008;
&#xe009;

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

About

An icon font that allows you to create a scalable cityscape with HTML5 and CSS3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published