Giter Site home page Giter Site logo

baicons's Introduction

Baicons - 百姓网的图标字体库

字体一览

旧版字体 baicons/icons-reference.html

新版字体 baicons/icons-reference2.html

手机版字体 baicons/icons-mobile.html

安装

bower install git://github.com/baixing/baicons.git --save

在页面中引用 baicons.css 或 baicons2.css 即可:

旧版网页使用: <link href="bower_components/baicons.css" media="all" rel="stylesheet" type="text/css">

新版网页使用: <link href="bower_components/baicons2.css" media="all" rel="stylesheet" type="text/css">

命名规则

基本规则是(以 CSS 类名传统为准):

  • 命名采用英文
  • 全部小写
  • 使用中划线连字符

在此基础上的特例是,类目图标以中文拼音命名,并添加 cat- 前缀,如 cat-ershouche

怎样更新图标

  1. 使用node 4,注意npm install时也需要node 4
  2. 更新baicon的package.json中的版本
  3. sourcesource 目录下更新图标源文件(svg 格式)
  4. 执行 npm run build 命令生成图标和对应样式表
  5. 在使用baicon的package.json中升级baicon版本

baicons's People

Contributors

amio avatar herringtondarkholme avatar ulricgan avatar lyt9304 avatar cyansalt avatar hax avatar codinfox avatar qiangwang avatar wadeee avatar sheldonzf avatar apelyn avatar zpbx avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.