Skip to content

CSS only no-javascript-required version of Ionicons

License

Notifications You must be signed in to change notification settings

rayattack/ionicons-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ionicons-css

Ionicons CSS only version without any JavaScript dependencies

Installation

  • Use npm or yarn install
  • Download zip folder from GitHub
  • Use unpkg, jsdeliver or other npm discovery CDNs

How to use

Add link to css file (download or use CDN version) from your html pages and use the prefix icon- followed by the icon name. See examples below.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ionicons-css@5.2.1/dist/icon.css">

<!-- or -->

<link rel="stylesheet" href="https://unpkg.com/ionicons-css@5.2.1/dist/icon.css">


...


<i class="icon-NAME_OF_ICON_AS_APPEARS_ON_IONICONS_WEBSITE_HERE"></i>

<!-- for instance text can be represented as below -->
<i class="icon-text"></i>

About

CSS only no-javascript-required version of Ionicons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages