All Projects → Viglino → Iconicss

Viglino / Iconicss

More than 900 pure CSS3 icons!

Projects that are alternatives of or similar to Iconicss

Flex One
1 CSS Class Layout System made with Flex
Stars: ✭ 47 (-34.72%)
Mutual labels:  css3
Morphist
A simple, high-performance and cross-browser jQuery slider / slideshow / carousel plugin for child objects powered by Animate.css.
Stars: ✭ 60 (-16.67%)
Mutual labels:  css3
Redpacketrain
红包雨
Stars: ✭ 68 (-5.56%)
Mutual labels:  css3
Evolvere Icons
Stars: ✭ 52 (-27.78%)
Mutual labels:  icon-set
Vue Mobile Mint
🍔 🍖 🍴基于mint-ui的饿了么外卖平台混合app(仿饿了么)
Stars: ✭ 59 (-18.06%)
Mutual labels:  css3
Pure Css3 Animated Border
Pure CSS3 animated border for all html element.
Stars: ✭ 63 (-12.5%)
Mutual labels:  css3
Awesome Flexbox
👓 A curated list of CSS Flexible Box Layout Module or only Flexbox.
Stars: ✭ 1,034 (+1336.11%)
Mutual labels:  css3
Basecss
CSS基类,减少浏览器差异,常用CSS类名
Stars: ✭ 69 (-4.17%)
Mutual labels:  css3
Iconhandler
Tint you Icons, change the size, apply alpha color and set a position easily. 👓
Stars: ✭ 59 (-18.06%)
Mutual labels:  icon-set
Blog
📚 专注Web与算法
Stars: ✭ 1,140 (+1483.33%)
Mutual labels:  css3
Root Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Root is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 54 (-25%)
Mutual labels:  css3
Sharebook Frontend
Projeto frontend de código livre para o app Sharebook.
Stars: ✭ 59 (-18.06%)
Mutual labels:  css3
Dev Practice
Practice your skills with these ideas.
Stars: ✭ 1,127 (+1465.28%)
Mutual labels:  css3
Samsara
☸️ Continuous UI
Stars: ✭ 1,051 (+1359.72%)
Mutual labels:  css3
Orientationchange Fix
基于@media特性实现对原生orientationchange的修复 ( orientationchange-fix is a based on @media attribute to fix orientationchange utility library, orientaionchange polyfill.)
Stars: ✭ 68 (-5.56%)
Mutual labels:  css3
Frontend Mentor Challenge
Here you will find all the challenges that we took from frontend-mentor.
Stars: ✭ 47 (-34.72%)
Mutual labels:  css3
Web Code Standards
通过分析 Github 众多前端代码库,总结出来的前端代码书写规范。
Stars: ✭ 61 (-15.28%)
Mutual labels:  css3
Hacktoberfest2020
Contribute for hacktoberfest 2020
Stars: ✭ 72 (+0%)
Mutual labels:  css3
Record
✨✨都是自己输出和看过觉得不错的文章,欢迎star、watch!!同时欢迎推荐新文章、书籍和视频!!
Stars: ✭ 69 (-4.17%)
Mutual labels:  css3
Magz
Free Resonsive HTML5 & CSS3 Magazine Template
Stars: ✭ 64 (-11.11%)
Mutual labels:  css3

iConicss

More than 900 pure CSS3 icons!

Look at the demo page!

Each icon uses a single anchor element (one div) and just one color: the currentColor (and transparent) except for the colored icons (as the name suggests). Thus they can easily be included in a page with a single HTML element and use the current color and current font size.

Why use iConicss?

  • Because CSS3 is now widely suported by all main browsers.
  • Because it may result in cool transition and morphing effects when changing icons.
  • Because it's fun! Like building a Lego®️ model with a limited set of bricks.

Known limitation

  • Some side effects may result in some browsers
  • IE doesn't compute properly the currentColor keyword in the CSS linear-gradient() (it's a known bug since 2014!). This will impact icons that use gradient background-image (just a few ones).

How to use it?

Install iConicss using npm install iconicss or download iconicss.min.css then add it in your html page:

<link rel="stylesheet" href="iconicss.min.css">

Using npm you can import 'iconicss/dist/iconicss.min.css' or individual files such as import 'iconicss/css/github.css' but you'll have to import 'iconics iconicss/icss.css before.

Then just add icss- classes to an <i> elements to add a new icon on your page:

<i class="icss-home"></i>

You can change color of icons as simple as set color in CSS.

<i class="icss-home" style="color:red;"></i>

You can change the size of the icon just by changing the font-size in CSS

To animate the icon when changing just add the icss-anim class to the element.

<i class="icss-anim icss-home"></i>

Then just change the icss-home class to icss-github to let the transition play.

Developpement

some rules

  1. Each icon must be a single element
  2. Don't use extra color (just the currentColor and transparen), except for colored icons...
  3. Use relative font size units (em) to let the icon resize
  4. Color icons must have a standard icon and color must be justify (brand color)
  5. Avoid transform on the base element (except rotation when it applies to the whole icon)
  6. Use gradients sparingly (because IE doesn't love it)

debug mode

If you want to fork, modify or create new icons, you can use the debug mode.
Just click on the button on top of the index.html page to access a page with one css per icon. Thus the icon's css can be easealy accessed, modified and saved directly in your browser.

If you create a new icon, be sure to add a css with its name in the ./css directory and add an entry in the config.json file of the project.

Individual css don't include prefixed methods: they are added using gulp-autoprefixer when building the project.
To achieve the task it uses the gulp command.

building with gulp

To install Gulp, you must first download and install node.js. Then, from the command line:

  1. Install gulp globally with npm install -g gulp.
  2. Navigate to the root /iconicss directory, then run npm install. npm will look at the package.json file and automatically install the necessary local dependencies listed there.

When completed, you'll be able to run the gulp commands provided from the command line to create the distribution files in the ./dist directory of the project.

Bugs

Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.

Licence

Copyright (c) 2017 Jean-Marc Viglino. Licensed under MIT Licence.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].