The latest version is v. 5.5 (updated 5. May 2018.)
This project is my playground for code, just for fun, testing and learning.
The logo reflects the fact that many of the icons are recycled from other free sources, although a lot of them are own work or refined and altered versions of existing icons. In the use of brand logos, I emphasize using the owner's guidelines for design. I also use the owner's own sources, where available.
The 525icons css and font files are available at
jsDelivr The free super-fast CDN for developers and webmasters.
You do not need to add the font files on your own server. It's sufficient to link the css file like this:
<link rel="stylesheet" type='text/css' href="https://firstname.lastname@example.org/fonts/525icons.min.css">
This line must be inside the
<head> of your html.
If you want to place the font files on your own server, make sure the entire fonts directory from the zip-file '525icons.zip' is copied into your project. You will need the files:
The css file must be in the same directory as the fonts. If not, you have to make changes in the code.
<head> of your html, reference the location to your 525icons.css and fonts.
<link rel="stylesheet" type='text/css' href="path/to/fonts/525icons.css">
You do not need the file 525icons.otf, unless you want to install it on your OS.
How to place the icons in your html-file:
If you are familiar with the use of the Font Awesome web font, the 525icons css code has some differences.
Like Font Awesome, 525icons is designed to be used with the inline element:
The icons are placed by adding the CSS prefix
'ux' plus the
'ico-' class prefix in front of the icons name,
like in this example:
<i class="ux ico-yin-yang"></i>
And you may add additional classes, like here:
<i class="ux ico-yin-yang ux-2x black bg-orange img-circle"></i>
If you use an icon just to add some extra decoration or branding,
it does not need to be announced to users who are navigating your site aurally.
In that case, you should use the string: aria-hidden="true", like in this example:
<i class="ux ico-asterisk ux-2x" aria-hidden="true"></i>
If an icon conveys meaning in your content or interface,
ensure that this meaning is also conveyed to assistive technologies through alternative text, like in the use of the aria-label string, shown here:
<a href="#top" aria-label="Go to top">
<i class="ux ico-angle-double ux-rotate-90 ux-2x black" aria-hidden="true"></i>