Giter Site home page Giter Site logo

components's Introduction

components

我自己写的一些常用的组件,存放于这里,方便查找。

一点思考

q: 为什么我要自己做一些组件,而且还是很低级常见的组件?

正如我刚刚上面讲的,正因为常用,所以要保留。
但是低级的话就仁者见仁了。
平时在做特效啊等等的过程中不忍心就纪录下来好了。

q: 为什么不用 bootstrap 等等封装好的东西?

有时候总会碰到别人没有封装的定制化的私有的东西。
前端总是推崇小而美的。

注意

只兼容到IE9+,并且没有加各种css兼容前缀。
需要用的时候直接用 autoprefixer 跑一下兼容到指定版本就行

1、tab 切换组件 --> tab
2、数字滚动特效 --> num-roll
3、jQuery 的 AJAX 扩展 --> jQuery-extend/ajax-loading.js
4、仿微信音乐播放的组件 --> voice-player
5、图片放大镜的组件 --> pic-magnifying
6、加载条动画(voice-player 里已用过,再抽离出来) --> lading-bar
7、增加一个 cookie 操作方法集合

2016年3月7日更:

开始整理一些东西,发现之前的一些代码写的好低级。。先提交上来好了

components's People

Contributors

anchengjian 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.