├── README.md ├── base.md ├── css.md ├── html.md ├── js-base.md ├── js.md ├── json-api.md └── 文件命名规范.md /README.md: -------------------------------------------------------------------------------- 1 | # front-end-Doc 2 | 前端文档汇总(含代码规范、开发流程、知识分享,持续更新) 3 | 4 | 综合类 | 地址 5 | --- | --- 6 | 前端文档基本例子|https://github.com/mgbq/front-end-Doc/blob/master/base.md 7 | 前端知识体系|http://www.cnblogs.com/sb19871023/p/3894452.html 8 | 前端知识结构|https://github.com/JacksonTian/fks 9 | Web前端开发大系概览|https://github.com/unruledboy/WebFrontEndStack 10 | Web前端开发大系概览-中文版|http://www.cnblogs.com/unruledboy/p/WebFrontEndStack.html 11 | Web Front-end Stack v2.2|https://raw.githubusercontent.com/unruledboy/WebFrontEndStack/master/Web%20Front%20End%20Stack.png 12 | 免费的编程中文书籍索引|https://github.com/justjavac/free-programming-books-zh_CN 13 | 前端书籍|https://github.com/dypsilon/frontend-dev-bookmarks 14 | 前端免费书籍大全|https://github.com/vhf/free-programming-books 15 | 前端知识体系|http://www.cnblogs.com/sb19871023/p/3894452.html 16 | 免费的编程中文书籍索引|https://github.com/justjavac/free-programming-books-zh_CN 17 | 智能社 - 精通JavaScript开发|http://study.163.com/course/introduction/224014.htm 18 | 重新介绍 JavaScript(JS 教程)|https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/A_re-introduction_to_JavaScript 19 | 麻省理工学院公开课:计算机科学及编程导论|http://v.163.com/special/opencourse/bianchengdaolun.html 20 | JavaScript中的this陷阱的最全收集--没有之一|http://segmentfault.com/a/1190000002640298 21 | JS函数式编程指南|https://llh911001.gitbooks.io/mostly-adequate-guide-chinese/content/ch1.html 22 | JavaScript Promise迷你书(中文版)|http://liubin.github.io/promises-book 23 | 腾讯移动Web前端知识库|https://github.com/AlloyTeam/Mars 24 | Front-End-Develop-Guide 前端开发指南|https://github.com/Front-End-Developers-Hunan/Front-End-Develop-Guide 25 | 前端开发笔记本|https://li-xinyang.gitbooks.io/frontend-notebook/content 26 | 大前端工具集 - 聂微东|https://github.com/nieweidong/fetool 27 | 前端开发者手册|https://dwqs.gitbooks.io/frontenddevhandbook/content 28 | 29 | 30 | 入门类 | 地址 31 | --- | --- 32 | 前端入门教程|http://www.cnblogs.com/jikey/p/3613082.html 33 | 瘳雪峰的Javascript教程|http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000 34 | jQuery基础教程|http://www.imooc.com/view/11 35 | 前端工程师必备的PS技能——切图篇|http://www.imooc.com/view/506 36 | 结合个人经历总结的前端入门方法|https://github.com/qiu-deqing/FE-learning 37 | 38 | 39 | 效果类 | 地址 40 | --- | --- 41 | 弹出层|http://www.imooc.com/learn/58 42 | 焦点图轮播特效|http://www.imooc.com/learn/18 43 | 44 | 45 | 工具类| 地址 46 | --- | --- 47 | css sprite 雪碧图制作|http://www.imooc.com/learn/93 48 | 版本控制入门 – 搬进 Github|http://www.imooc.com/learn/390 49 | Grunt-beginner前端自动化工具|http://www.imooc.com/learn/30 50 | 51 | 52 | 慕课专题| 地址 53 | --- | --- 54 | 张鑫旭 - 慕课系列|http://www.imooc.com/t/197450 55 | lyn - 慕课系列|http://www.imooc.com/t/104593 56 | 艾伦 - 慕课系列|http://www.imooc.com/u/290139/courses?sort=publish 57 | 碧仔 - Hello,移动WEB|http://www.imooc.com/view/494 58 | 59 | 60 | 周报类| 地址 61 | --- | --- 62 | 平安科技移动开发二队技术周报|https://github.com/PaicHyperionDev/MobileDevWeekly 63 | 64 | 65 | 开发中心| 地址 66 | --- | --- 67 | mozilla js参考|https://developer.mozilla.org/zh-CN/docs/Web/JavaScript 68 | chrome开发中心(chrome的内核已转向blink)|https://developer.chrome.com/extensions/api_index.html 69 | safari开发中心|https://developer.apple.com/library/safari/navigation 70 | microsoft js参考|https://msdn.microsoft.com/zh-cn/library/d1et7k7c(v=vs.94.aspx 71 | js秘密花园|http://sanshi.me/articles/JavaScript-Garden-CN/html/index.html 72 | js秘密花园|http://bonsaiden.github.io/JavaScript-Garden/zh 73 | w3help|http://www.w3help.org 综合Bug集合网站 74 | 75 | 76 | 综合搜索| 地址 77 | --- | --- 78 | javascripting|http://www.javascripting.com 79 | 各种流行库搜索|http://microjs.com 80 | 81 | 82 | 综合API| 地址 83 | --- | --- 84 | runoob.com-包含各种API集合|http://www.runoob.com 85 | 开源中国在线API文档合集|http://tool.oschina.net/apidocs 86 | devdocs|http://devdocs.io 英文综合API网站 87 | 88 | 89 | jQuery| 地址 90 | --- | --- 91 | jQuery API 中文文档|http://www.jquery123.com 92 | hemin 在线版|http://hemin.cn/jq 93 | css88 jq api|http://www.css88.com/jqapi-1.9/on 94 | css88 jqui api|http://www.css88.com/jquery-ui-api 95 | 学习jquery|http://learn.jquery.com 96 | jquery 源码查找|http://james.padolsey.com/jquery 97 | 98 | 99 | Ecmascript| 地址 100 | --- | --- 101 | Understanding ECMAScript 6 - Nicholas C. Zakas|https://leanpub.com/understandinges6/read 102 | exploring-es6|https://leanpub.com/exploring-es6/read 103 | exploring-es6翻译|https://github.com/es6-org/exploring-es6 104 | exploring-es6翻译后预览|http://es6-org.github.io/exploring-es6 105 | 阮一峰 es6|http://es6.ruanyifeng.com 106 | 阮一峰 Javascript|http://javascript.ruanyifeng.com 107 | ECMA-262,第 5 版|http://yanhaijing.com/es5 108 | es5|http://es5.github.io 109 | 110 | 111 | Js template| 地址 112 | --- | --- 113 | template-chooser|http://garann.github.io/template-chooser 114 | artTemplate|https://github.com/aui/artTemplate 115 | tomdjs|https://github.com/aui/tmodjs/blob/master/README.md 116 | 淘宝模板juicer模板|http://juicer.name/docs/docs_zh_cn.html 117 | Fxtpl v1.0 繁星前端模板引擎|http://koen301.github.io/fxtpl 118 | laytpl|http://laytpl.layui.com 119 | mozilla - nunjucks|https://github.com/mozilla/nunjucks 120 | Juicer|https://github.com/PaulGuo/Juicer 121 | dustjs|http://akdubya.github.io/dustjs 122 | etpl|http://ecomfe.github.io/etpl 123 | 124 | 125 | 弹出层| 地址 126 | --- | --- 127 | artDialog 最新版|https://github.com/aui/artDialog 128 | artDialog 文档|http://aui.github.io/artDialog/doc/index.html 129 | google code 下载地址|https://code.google.com/p/artdialog/downloads/list 130 | 贤心弹出层|http://layer.layui.com 131 | 响应式用户交互组件库|https://github.com/bh-lay/UI 132 | sweetalert-有css3动画弹出层|http://t4t5.github.io/sweetalert 133 | 134 | 135 | CSS| 地址 136 | --- | --- 137 | CSS 语法参考|http://tympanus.net/codrops/css_reference 138 | CSS3动画手册|http://isux.tencent.com/css3/index.html 139 | 腾讯css3动画制作工具|http://isux.tencent.com/css3/tools.html 140 | 志爷css小工具集合|http://linxz.github.io/tianyizone 141 | css3 js 移动大杂烩|http://www.note12.com/category/blog/2014-6-5/538fe0a9f786f1b7019a4dfb 142 | bouncejs 触摸库|http://bouncejs.com 143 | css3 按钮动画|http://fian.my.id/Waves 144 | animate.css|http://daneden.github.io/animate.css 145 | 全局CSS的终结(狗带 [译]|http://www.alloyteam.com/2015/10/8536 146 | 147 | 148 | Angularjs| 地址 149 | --- | --- 150 | Angular.js 的一些学习资源|https://github.com/dolymood/AngularLearning 151 | angularjs中文社区|http://angularjs.cn 152 | Angularjs源码学习|http://www.cnblogs.com/xuwenmin888/p/3739096.html 153 | Angularjs源码学习|http://www.ifeenan.com/?c=AngularJS 154 | angular对bootstrap的封装|http://angular-ui.github.io/bootstrap 155 | angularjs + nodejs|https://cnodejs.org/topic/51404e0f069911196d2e3923 156 | 吕大豹 Angularjs|http://www.cnblogs.com/lvdabao/tag/AngularJs 157 | AngularJS 最佳实践|http://www.infoq.com/cn/news/2013/02/angular-web-app 158 | Angular的一些扩展指令|http://www.lovelucy.info/angularjs-best-practices.html 159 | Angular数据绑定原理|https://github.com/Pasvaz/bindonce 160 | 一些扩展Angular UI组件|https://github.com/angular-ui 161 | Ember和AngularJS的性能测试|http://voidcanvas.com/emberjs-vs-angularjs-performance-testing 162 | 带你走近AngularJS - 基本功能介绍|http://www.cnblogs.com/powertoolsteam/p/angularjs-introdection.html 163 | Angularjs开发指南|http://angular.duapp.com/docs/guide 164 | Angularjs学习|http://www.cnblogs.com/amosli/p/3710648.html 165 | 不要带着jQuery的思维去学习AngularJS|http://www.rainweb.cn/article/angularjs-jquery.html 166 | angularjs 学习笔记|http://wangjiatao.diandian.com/?tag=angularjs 167 | angularjs 开发指南|http://www.angularjs.cn/T008 168 | angularjs 英文资料|https://github.com/jmcunningham/AngularJS-Learning 169 | angular bootstrap|http://angular-ui.github.io/bootstrap 170 | angular jq mobile|https://github.com/opitzconsulting/jquery-mobile-angular-adapter 171 | angular ui|http://mgcrea.github.io/angular-strap 172 | 整合jQuery Mobile+AngularJS经验谈|http://www.tuicool.com/articles/7ZZVr2 173 | 有jQuery背景,该如何用AngularJS编程思想|http://blog.jobbole.com/46589/ 174 | AngularJS在线教程|http://each.sinaapp.com/angular 175 | angular学习笔记|http://www.zouyesheng.com/angular.html 176 | 177 | 178 | React| 地址 179 | --- | --- 180 | react.js 中文论坛|http://www.react-china.org 181 | react.js 官方网址|https://facebook.github.io/react/index.html 182 | react.js 官方文档|https://facebook.github.io/react/docs/getting-started.html 183 | react.js material UI|http://material-ui.com/# 184 | react.js TouchstoneJS UI|http://touchstonejs.io 185 | react.js amazeui UI|http://amazeui.org/react 186 | React 入门实例教程 - 阮一峰|http://www.ruanyifeng.com/blog/2015/03/react.html 187 | React Native 中文版|http://wiki.jikexueyuan.com/project/react-native 188 | Webpack 和 React 小书 - 前端乱炖|http://www.html-js.com/article/Fakefish%203053 189 | Webpack 和 React 小书 - gitbook|https://fakefish.github.io/react-webpack-cookbook 190 | webpack|https://github.com/webpack/webpack 191 | Webpack,101入门体验|http://html-js.com/article/3009 192 | webpack入门教程|http://html-js.com/article/3113 193 | 基于webpack搭建前端工程解决方案探索|http://segmentfault.com/a/1190000003499526 194 | React原创实战视频教程|http://www.piliyu.com 195 | 196 | 197 | 移动端API| 地址 198 | --- | --- 199 | 99移动端知识集合|https://github.com/jtyjty99999/mobileTech 200 | 移动端前端开发知识库|https://github.com/AlloyTeam/Mars 201 | 移动前端的一些坑和解决方法(外观表现)|http://caibaojian.com/mobile-web-bug.html 202 | 【原】移动web资源整理|http://www.cnblogs.com/PeunZhang/p/3407453.html 203 | zepto 1.0 中文手册|http://mweb.baidu.com/zeptoapi 204 | zepto 1.0 中文手册|http://www.html-5.cn/Manual/Zepto 205 | zepto 1.1.2|http://www.css88.com/doc/zeptojs_api 206 | zepto 中文注释|http://www.cnblogs.com/sky000/archive/2013/03/29/2988952.html 207 | jqmobile 手册|http://app-framework-software.intel.com/api.php 208 | 移动浏览器开发集合|https://github.com/maxzhang/maxzhang.github.com/issues 209 | 移动开发大杂烩|https://github.com/hoosin/mobile-web-favorites 210 | 微信webview中的一些问题|http://lin-chao.github.io/2014/11/14/%E5%BE%AE%E4%BF%A1webview%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98 211 | 212 | 213 | 框架| 地址 214 | --- | --- 215 | 特色的HTML框架可以创建精美的iOS应用|http://framework7.taobao.org 216 | 淘宝SUI|http://m.sui.taobao.org 217 | 218 | 219 | avalon| 地址 220 | --- | --- 221 | avalonjs|http://avalonjs.github.io 222 | Avalon新一代UI库: OniUI|http://ued.qunar.com/oniui/index.html 223 | avalon.oniui-基于avalon的组件库|https://github.com/RubyLouvre/avalon.oniui 224 | 225 | 226 | Requriejs| 地址 227 | --- | --- 228 | Javascript模块化编程(一):模块的写法 |http://www.ruanyifeng.com/blog/2012/10/javascript_module.html 229 | Javascript模块化编程(二):AMD规范|http://www.ruanyifeng.com/blog/2012/10/asynchronous_module_definition.html 230 | Javascript模块化编程(三):require.js的用法|http://www.ruanyifeng.com/blog/2012/11/require_js.html 231 | RequireJS入门(一)|http://www.cnblogs.com/snandy/archive/2012/05/22/2513652.html 232 | RequireJS入门(二)|http://www.cnblogs.com/snandy/archive/2012/05/23/2513712.html 233 | RequireJS进阶(三)|http://www.cnblogs.com/snandy/archive/2012/06/08/2538001.html 234 | requrie源码学习|http://www.cnblogs.com/yexiaochai/p/3632580.html 235 | requrie 入门指南|http://www.oschina.net/translate/getting-started-with-the-requirejs-library 236 | requrieJS 学习笔记|http://www.cnblogs.com/yexiaochai/p/3214926.html 237 | requriejs 其一 |http://cyj.me/why-seajs/requirejs/ 238 | require backbone结合|http://www.cnblogs.com/yexiaochai/p/3221081.html 239 | 240 | 241 | Seajs| 地址 242 | --- | --- 243 | seajs|http://seajs.org 244 | seajs 中文手册|http://cyj.me/why-seajs/zh 245 | 246 | 247 | Less,sass| 地址 248 | --- | --- 249 | sass|http://www.w3cplus.com/sassguide 250 | sass教程-sass中国|http://www.sass.hk 251 | Sass 中文文档|http://sass.bootcss.com 252 | less|http://less.bootcss.com 253 | 254 | 255 | Markdown| 地址 256 | --- | --- 257 | Markdown 语法说明 (简体中文版|http://wowubuntu.com/markdown 258 | markdown入门参考|https://github.com/LearnShare/Learning-Markdown/blob/master/README.md 259 | gitbook|https://www.gitbook.com 国外的在线markdown可编辑成书 260 | mdeditor|https://www.zybuluo.com/mdeditor 一款国内的在线markdown编辑器 261 | stackedit|https://stackedit.io 国外的在线markdown编辑器,功能强大,同步云盘 262 | mditor|http://bh-lay.github.io/mditor 一款轻量级的markdown编辑器 263 | lepture-editor|https://github.com/lepture/editor 264 | markdown-editor|https://github.com/jbt/markdown-editor 265 | 266 | 267 | D3| 地址 268 | --- | --- 269 | d3 Tutorials|https://github.com/mbostock/d3/wiki/Tutorials 270 | Gallery|https://github.com/mbostock/d3/wiki/Gallery 271 | lofter|http://datavisual.lofter.com/post/40cf3a_188e535 272 | iteye|http://alanland.iteye.com/blog/1878595 273 | ruanyifeng|http://javascript.ruanyifeng.com/library/d3.html 274 | 275 | 276 | 兼容性| 地址 277 | --- | --- 278 | esma 兼容列表|http://kangax.github.io/compat-table/es6 279 | W3C CSS验证服务|http://jigsaw.w3.org/css-validator/validator.html.zh-cn 280 | caniuse|http://caniuse.com/#index 281 | csscreator|http://csscreator.com/properties 282 | microsoft|https://msdn.microsoft.com/zh-cn/library/cc351024(v=vs.85.aspx 283 | 在线测兼容-移动端|http://www.responsinator.com 284 | emulators|https://www.manymo.com/emulators 285 | 286 | 287 | UI相关| 地址 288 | --- | --- 289 | bootcss|http://v3.bootcss.com 290 | MetroUICSS|http://www.w3cplus.com/MetroUICSS 291 | semantic|http://semantic-ui.com 292 | Buttons|http://alexwolfe.github.io/Buttons 293 | kitecss|http://hiloki.github.io/kitecss 294 | pintuer|http://www.pintuer.com 295 | amazeui|http://amazeui.org 296 | worldhello|http://www.worldhello.net/gotgithub/index.html 297 | linuxtoy|http://igit.linuxtoy.org/contents.html 298 | gitmagic|http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn 299 | rogerdudler|http://rogerdudler.github.io/git-guide/index.zh.html 300 | gitref|http://gitref.justjavac.com 301 | book|http://git-scm.com/book/zh 302 | gogojimmy|http://gogojimmy.net/2012/01/17/how-to-use-git-1-git-basic 303 | 304 | 305 | HTTP| 地址 306 | --- | --- 307 | HTTP API 设计指南|http://segmentfault.com/bookmark/1230000002521721 308 | 309 | 310 | 其它API| 地址 311 | --- | --- 312 | javascript流行库汇总|javascriptoo 313 | 验证api|http://niceue.com/validator/demo/index.php 314 | underscore 中文手册|http://www.css88.com/doc/underscore 315 | underscore源码分析|http://www.html-js.com/article/Underscorejs-source-code-analysis-of-underscorejs-source-code-analysis%203031 316 | underscore源码分析-亚里士朱德的博客|http://yalishizhude.github.io/tags/underscore 317 | underscrejs en api|http://underscorejs.org 318 | lodash - underscore的代替品|https://lodash.com 319 | ext4api|http://extjs-doc-cn.github.io/ext4api 320 | backbone 中文手册|http://www.csser.com/tools/backbone/backbone.js.html 321 | qwrap手册|http://dev.qwrap.com/resource/js/_docs/_youa/#/qw/base/loadJs_.htm 322 | 缓动函数|http://easings.net/zh-cn 323 | svg 中文参考|http://www.w3school.com.cn/svg/svg_reference.asp 324 | svg mdn参考|https://developer.mozilla.org/en-US/docs/Web/SVG 325 | svg 导出 canvas|https://github.com/gabelerner/canvg 326 | svg 导出 png|https://github.com/exupero/saveSvgAsPng 327 | ai-to-svg|http://www.zamzar.com/convert/ai-to-svg 328 | localStorage 库|https://github.com/machao/localStorage 329 | 330 | 331 | 图表类| 地址 332 | --- | --- 333 | Highcharts 中文API|http://www.hcharts.cn/api/index.php 334 | Highcharts 英文API|http://api.highcharts.com/highcharts 335 | ECharts 百度的图表软件|http://echarts.baidu.com/ 336 | 高德地图|http://lbs.amap.com/api 337 | 开源的矢量图脚本框架|http://paperjs.org 338 | svg 地图|http://jvectormap.com 339 | 340 | 341 | vue| 地址 342 | --- | --- 343 | Vue|http://cn.vuejs.org 344 | Vue 论坛|http://forum.vuejs.org 345 | Vue 入门指南|http://www.cnblogs.com/aaronjs/p/3660102.html 346 | Vue 的一些资源索引|http://segmentfault.com/a/1190000000411057 347 | awesome-vue|https://github.com/vuejs/awesome-vue 348 | 349 | 350 | 正则| 地址 351 | --- | --- 352 | JS正则表达式元字符|http://segmentfault.com/a/1190000002471140 353 | 正则表达式30分钟入门教程|http://deerchao.net/tutorials/regex/regex.htm 354 | MDN-正则表达式|https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Regular_Expressions 355 | ruanyifeng - RegExp对象|http://javascript.ruanyifeng.com/stdlib/regexp.html 356 | 小胡子哥 - 进阶正则表达式|http://div.io/topic/764?page=1 357 | is.js|https://github.com/Cedriking/is.js/blob/master/is.js 358 | 正则在线测试|http://regexper.com 359 | 360 | 361 | ionic| 地址 362 | --- | --- 363 | ionic|https://github.com/ychow/ionic-guide 364 | 365 | 366 | 其它| 地址 367 | --- | --- 368 | Mock.js 是一款模拟数据生成器|http://mockjs.com 369 | 370 | 371 | 前端| 地址 372 | --- | --- 373 | 通过分析github代码库总结出来的工程师代码书写习惯|http://alloyteam.github.io/CodeGuide 374 | HTML&CSS编码规范 by @mdo|http://codeguide.bootcss.com 375 | 团队合作的css命名规范-腾讯AlloyTeam前端团队|http://www.alloyteam.com/2011/10/107 376 | 前端编码规范之js - by yuwenhui|http://yuwenhui.github.io 377 | 前端编码规范之js - by 李靖|http://www.cnblogs.com/hustskyking/p/javascript-spec.html 378 | 前端开发规范手册|http://zhibimo.com/read/Ashu/front-end-style-guide 379 | Airbnb JavaScript 编码规范(简体中文版)|https://github.com/yuche/javascript#table-of-contents 380 | AMD与CMD规范的区别|http://www.zhihu.com/question/20351507 381 | AMD与CMD规范的区别|http://www.cnblogs.com/tugenhua0707/p/3507957.html 382 | KISSY 源码规范|http://docs.kissyui.com/1.4/docs/html/tutorials/style-guide/kissy-source-style.html 383 | bt编码规范|http://codeguide.bootcss.com 384 | 规范加强版|https://github.com/Suxiaogang/Code_Guide 385 | 前端代码规范 及 最佳实践|http://blog.jobbole.com/79075 386 | 百度前端规范|http://coderlmn.github.io/code-standards 387 | 百度前端规范|http://isobar-idev.github.io/code-standards 388 | 百度前端规范|http://zhuanlan.zhihu.com/fuyun/19884834 389 | ECMAScript6 编码规范--广发证券前端团队|https://github.com/gf-rd/es6-coding-style 390 | JavaScript 风格指南/编码规范(Airbnb公司版)|http://blog.jobbole.com/79484 391 | 网易前端开发规范|http://nec.netease.com/standard 392 | css模块|http://www.75team.com/archives/1049 393 | 前端规范资源列表|https://github.com/ecomfe/spec 394 | 395 | 396 | PHP| 地址 397 | --- | --- 398 | 最流行的PHP 代码规范|http://segmentfault.com/a/1190000000443795 399 | 最流行的PHP 代码规范|https://github.com/hfcorriez/fig-standards/blob/zh_CN/%E6%8E%A5%E5%8F%97/PSR-2-coding-style-guide.md 400 | 401 | 402 | Android| 地址 403 | --- | --- 404 | 【敏捷开发】Android团队开发规范|http://www.cnblogs.com/lcw/p/3619181.html 405 | Android 开发规范与应用|http://www.jianshu.com/p/4390f4fe19b3 406 | 407 | 408 | 各大公司开源项目| 地址 409 | --- | --- 410 | Facebook Projects|https://code.facebook.com/projects/web 411 | 百度web前端研发部|http://fex.baidu.com 412 | 百度EFE|http://efe.baidu.com 413 | 百度github|https://github.com/fex-team 414 | alloyteam|http://www.alloyteam.com 415 | alloyteam-github|http://alloyteam.github.io 416 | alloyteam-AlloyGameEngine|https://github.com/AlloyTeam/AlloyGameEngine 417 | AlloyDesigner|http://alloyteam.github.io/AlloyDesigner 即时修改,即时保存,设计稿较正,其它开发辅助工具 418 | H5交互页编辑器AEditor介绍|http://www.alloyteam.com/2015/06/h5-jiao-hu-ye-bian-ji-qi-aeditor-jie-shao H5动画交互页开发的工具介绍 419 | AEditor|http://aeditor.alloyteam.com H5动画交互页开发的工具 420 | maka|http://forum.maka.im/wordpress 421 | 值得订阅的weekly|https://github.com/fenbility/weekly-feed 422 | 腾讯html5|http://cube.qq.com 423 | 奇舞团开源项目|http://75team.github.io 424 | Qunar UED|http://ued.qunar.com 425 | Scrat|http://scrat.io 426 | 427 | 428 | 常用 |地址 429 | --- | --- 430 | ieBetter.js-让IE6-IE8拥有IE9+,Chrome等浏览器特性|http://www.zhangxinxu.com/wordpress/2013/12/iebetter-js-make-ie6-ie8-like-modern-browser-ie9-chrome 431 | 模拟键盘|http://mottie.github.io/Keyboard 432 | 拼音|https://github.com/hotoo/pinyin 433 | 中国个人身份证号验证|https://github.com/mc-zone/IDValidator 434 | 435 | 436 | 算法 | 地址 437 | --- | --- 438 | 数据结构与算法 JavaScript 描述. 章节练习|https://github.com/Ralph-Wang/algorithm.in.js 439 | 常见排序算法(JS版)|https://github.com/twobin/twobinSort 440 | 经典排序|https://github.com/luofei2011/jsAgm/blob/master/js/sort.js 441 | 常见排序算法-js版本|https://github.com/hechangmin/jssort 442 | JavaScript 算法与数据结构 精华集|https://github.com/lightningtgc/JavaScript-Algorithms 443 | 面试常考算法题精讲|http://www.nowcoder.com/live/courses 444 | 445 | 446 | 移动端 | 地址 447 | --- | --- 448 | fastclick|https://github.com/ftlabs/fastclick 449 | no-click-delay|https://github.com/mmastrac/jquery-noclickdelay 450 | 451 | 452 | JSON | 地址 453 | --- | --- 454 | 模拟生成JSON数据|http://beta.json-generator.com 455 | 返回跨域JSONAPI|http://jsonp.afeld.me 456 | 457 | 458 | Html5 | 地址 459 | --- | --- 460 | HTML5 有哪些让你惊艳的 demo?|http://www.zhihu.com/question/24398907 461 | 462 | 463 | CSS | 地址 464 | --- | --- 465 | browserhacks|http://browserhacks.com 466 | 467 | 468 | 焦点图 | 地址 469 | --- | --- 470 | myfocus|https://github.com/koen301/myfocus 471 | myfocus-官方演示站|http://www.chhua.com/myfocus 472 | SuperSlidev2.1 -- 大话主席|http://www.superslide2.com 473 | soChange|http://www.bujichong.com/sojs/soChange/index.html 474 | 475 | 476 | Ext, EasyUI, J-UI 及其它各种UI方案 | 地址 477 | --- | --- 478 | extjs|https://www.sencha.com/products/extjs 479 | ext4英文api|http://docs.sencha.com/extjs/4.0.7 480 | ext4中文api|http://extjs-doc-cn.github.io/ext4api 481 | 482 | 483 | EasyUI | 地址 484 | --- | --- 485 | jquery easyui 未压缩源代码|http://jquery-easyui.googlecode.com/svn/trunk/src 486 | 487 | 488 | J-UI | 地址 489 | --- | --- 490 | J-UI|http://jui.org 491 | 492 | 493 | Other | 地址 494 | --- | --- 495 | MUI-最接近原生APP体验的高性能前端框架|http://dcloudio.github.io/mui 496 | Amaze UI | 中国首个开源 HTML5 跨屏前端框架|http://amazeui.org 497 | 淘宝 HTML5 前端框架|http://m.sui.taobao.org 498 | KISSY - 阿里前端JavaScript库|http://docs.kissyui.com 499 | 网易Nej - Nice Easy Javascript|http://nej.netease.com 500 | Kendo UI MVVM Demo|http://demos.telerik.com/kendo-ui/mvvm/index 501 | Bootstrap|http://www.bootcss.com 502 | Smart UI|http://smartui.chinamzz.com 503 | 雅虎UI - CSS UI|http://developer.yahoo.com/yui/grids 504 | 505 | 506 | 页面 社会化 分享功能 | 地址 507 | --- | --- 508 | 百度分享|http://share.baidu.com pc端 509 | JiaThis|http://jiathis.com pc端 510 | 社会化分享组件|http://developer.baidu.com/soc/share 移动端 511 | ShareSDK 轻松实现社会化功能|http://www.mob.com/#/index 移动端 512 | 友盟分享|http://dev.umeng.com/social/android/quick-integration 移动端 513 | 514 | 515 | 富文本编辑器 | 地址 516 | --- | --- 517 | 功能齐全 tinymce|https://www.tinymce.com 518 | 百度 ueditor|http://ueditor.baidu.com/website 519 | 经典的ckeditor|http://ckeditor.com 520 | 经典的kindeditor|http://kindeditor.net 521 | wysiwyg|http://www.bootcss.com/p/bootstrap-wysiwyg 522 | 一个有情怀的编辑器。Bach's Editor|http://integ.github.io/BachEditor 523 | tower用的编辑器|https://github.com/mycolorway/simditor 524 | summernote 编辑器|https://github.com/summernote/summernote 525 | html5编辑器|http://neilj.github.io/Squire 526 | XEditor|http://lab.hustlzp.com/XEditor 527 | wangEditor|https://github.com/wangfupeng1988/wangEditor 528 | 529 | 530 | PC | 地址 531 | --- | --- 532 | 经典my97|http://www.my97.net/dp/demo/index.htm 533 | 强大的独立日期选择器|http://www.cnblogs.com/gbin1/archive/2012/04/16/2452105.html 534 | fullcalendar|http://fullcalendar.io 535 | fullcalendar日历控件知识点集合 |http://blog.csdn.net/francislaw/article/details/7740630 536 | 中文api|http://blog.sina.com.cn/s/blog_9475b1c101012c5f.html 537 | 农历日历|https://github.com/zzyss86/LunarCalendar 538 | 超酷的仿百度带节日日历老黄历控件|http://www.sucaisj.com/jiaoben/date/201509/16856.html 539 | 日期格式化|http://momentjs.com 540 | 大牛日历控件|https://github.com/Johnqing/QPAYCalendar 541 | 我群某管理作品|https://github.com/Iamlars/dateMarker 542 | input按位替换-官网|http://digitalbush.com/projects/masked-input-plugin 543 | input按位替换-github|https://github.com/digitalBush/jquery.maskedinput/tree/1.2.2 544 | bootstrap-daterangepicker|https://github.com/dangrossman/bootstrap-daterangepicker 545 | 国外30个插件集合|http://www.vandelaydesign.com/30-best-free-jquery-plugins 546 | JavaScript datepicker|http://dbushell.com/2012/10/09/pikaday-javascript-datepicker 547 | Datepair.js|http://jonthornton.github.io/Datepair.js 548 | 一个风格多样的日历|https://github.com/glad/glDatePicker 549 | 弹出层式的全日历|http://amsul.ca/pickadate.js/date 550 | jquery双日历|http://www.daterangepicker.com 551 | 552 | 553 | 移动 | 地址 554 | --- | --- 555 | 大气实用jQuery手机移动端日历日期选择插件|http://www.frankdemo.cn/index.php?c=content&a=show&id=115 556 | jQuery Mobile 移动开发中的日期插件Mobiscroll |https://mobiscroll.com 557 | 558 | 559 | Date library | 地址 560 | --- | --- 561 | Datejs|https://github.com/datejs/Datejs 562 | sugarjs|http://sugarjs.com/api/Date 563 | 564 | 565 | 综合效果搜索平台 | 地址 566 | --- | --- 567 | 效果网|http://www.jq22.com 568 | 17素材|http://www.17sucai.com 569 | 常用的JavaScript代码片段|http://microjs.com 570 | 571 | 572 | 概述 | 地址 573 | --- | --- 574 | 前端工具大全|http://www.awesomes.cn 575 | 什么是前端工程化|https://github.com/fouber/blog/issues/10?from=timeline&isappinstalled=0# 576 | 577 | 578 | Gulp | 地址 579 | --- | --- 580 | Gulp官网|http://gulpjs.com 581 | Gulp中文网|http://www.gulpjs.com.cn 582 | gulp资料收集|https://github.com/Platform-CUF/use-gulp 583 | Gulp:任务自动管理工具 - ruanyifeng|http://javascript.ruanyifeng.com/tool/gulp.html 584 | Gulp插件|http://gulpjs.com/plugins 585 | Gulp不完全入门教程|http://www.ido321.com/1622.html 586 | 为什么使用gulp?|https://github.com/hjzheng/CUF_meeting_knowledge_share/issues/33 587 | Gulp安装及配合组件构建前端开发一体化|http://www.dbpoo.com/getting-started-with-gulp 588 | Gulp 入门指南|https://github.com/nimojs/gulp-book 589 | Gulp 入门指南 - nimojs|https://github.com/nimojs/blog/issues/19 590 | Gulp入门教程|http://markpop.github.io/2014/09/17/Gulp%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B 591 | Gulp in Action|http://www.imooc.com/video/5692 592 | Gulp开发教程(翻译)|http://www.w3ctech.com/topic/134 593 | 前端构建工具gulpjs的使用介绍及技巧|http://www.cnblogs.com/2050/p/4198792.html 594 | 595 | 596 | Grunt | 地址 597 | --- | --- 598 | gruntjs|http://gruntjs.com 599 | Grunt中文网|http://www.gruntjs.net 600 | 601 | 602 | Fis | 地址 603 | --- | --- 604 | fis 官网|http://fex-team.github.io/fis-site/index.html 605 | fis|http://fis.baidu.com 606 | 607 | 608 | pc图轮 | 地址 609 | --- | --- 610 | 单屏轮播sochange|http://www.jsfoot.com/jquery/demo/2011-09-20/192.html 611 | 左右按钮多图切换|http://bxslider.com/examples/carousel-demystified 612 | fullpage全屏轮播|https://github.com/alvarotrigo/fullPage.js 613 | 614 | 615 | 移动端 | 地址 616 | --- | --- 617 | 无缝切换|http://www.swipejs.com 618 | 滑屏效果|http://www.idangero.us/swiper 619 | 全屏fullpage|https://github.com/peunzhang/fullpage 620 | 单个图片切换|https://github.com/qiqiboy/touchslider 621 | 单个全屏切换|https://github.com/peunzhang/slip.js 622 | 百度的切换库|http://touch.code.baidu.com/examples.html?qq-pf-to=pcqq.group 623 | 单个全屏切换|https://github.com/peunzhang/iSlider 624 | 滑屏效果|https://github.com/saw/touch-interfaces 625 | 旋转拖动设置|http://baijs.com/tinycircleslider 626 | 类似于swipe切换|http://touchslider.com 627 | 支持多种形式的触摸滑动|http://www.swiper.com.cn/demo/index.html 628 | 滑屏效果|https://github.com/joker-ye/main/blob/master/wap/index.html 629 | 大话主席pc移动图片轮换|http://www.superslide2.com 630 | 滑屏效果|https://github.com/hahnzhu/parallax.js 631 | 基于zepto的fullpage|https://github.com/yanhaijing/zepto.fullpage 632 | [WebApp]定宽网页设计下,固定宽度布局开发WebApp并实现多终端下WebApp布局自适应|http://www.cnblogs.com/plums/archive/2013/01/10/WebApp-fixed-width-layout-of-multi-terminal-adapter-since.html 633 | 判断微信客户端的那些坑|http://loo2k.com/blog/detecting-wechat-client 634 | 可以通过javascript直接调用原生分享的工具|https://github.com/JefferyWang/nativeShare.js 635 | JiaThis 分享到微信代码|http://www.jiathis.com/help/html/weixin-share-code 636 | 聊聊移动端跨平台开发的各种技术|http://fex.baidu.com/blog/2015/05/cross-mobile 637 | 前端自动化测试|http://www.zhihu.com/question/29922082 638 | 多种轮换图片|http://ajccom.github.io/niceslider 639 | 滑动侧边栏|https://mango.github.io/slideout 640 | 641 | 642 | 文件上传 | 地址 643 | --- | --- 644 | 百度上传组件|http://fex.baidu.com/webuploader 645 | 上传|https://blueimp.github.io/jQuery-File-Upload 646 | flash 头像上传|http://www.hdfu.net 647 | 图片上传预览|http://www.dropzonejs.com 648 | 图片裁剪|http://elemefe.github.io/image-cropper 649 | 图片裁剪-shearphoto|http://www.shearphoto.com 650 | jQuery图片处理|http://www.oschina.net/project/tag/284/jquery-image-tools?lang=0&os=0&sort=view&p=2 651 | 652 | 653 | 模拟select | 地址 654 | --- | --- 655 | 糖饼 select|http://aui.github.io/popupjs/doc/selectbox.html 656 | flexselect|https://github.com/rmm5t/jquery-flexselect 657 | 双select|http://loudev.com 658 | select2|http://select2.github.io 659 | 660 | 661 | 取色插件 | 地址 662 | --- | --- 663 | 类似 Photoshop 的界面取色插件|http://www.jq22.com/plugin/367 664 | jquery color|https://github.com/jquery/jquery-color 665 | 取色插件集合|http://www.oschina.net/project/tag/287/color-picker 666 | farbtastic 圆环+正方形|https://github.com/mattfarina/farbtastic 667 | 668 | 669 | 城市联动 | 地址 670 | --- | --- 671 | jquery.cityselect.js基于jQuery+JSON的省市或自定义联动效果|http://www.ijquery.cn/?p=360 672 | 673 | 674 | 剪贴板 | 地址 675 | --- | --- 676 | 剪贴板|https://github.com/zeroclipboard/zeroclipboard 677 | clipboard 最新的剪切方案|http://zenorocha.github.io/clipboard.js 678 | 不是Flash的剪贴板|https://github.com/zenorocha/clipboard.js 679 | 680 | 681 | 简繁转换 | 地址 682 | --- | --- 683 | 简繁转换|https://github.com/BYVoid/OpenCC 684 | 685 | 686 | 表格 Grid | 地址 687 | --- | --- 688 | facebook表格|http://facebook.github.io/fixed-data-table 689 | 类似于Excel编辑表格-handsontable|http://handsontable.com 690 | bootstrap-table插件|http://bootstrap-table.wenzhixin.net.cn 691 | datatables|https://www.datatables.net 692 | 693 | 694 | 在线演示 | 地址 695 | --- | --- 696 | js 在线编辑 - runjs|http://runjs.cn 697 | js 在线编辑 - jsbin|http://jsbin.com 698 | js 在线编辑 - codepen|http://codepen.io 699 | js 在线编辑 - jsfiddle|http://jsfiddle.net 700 | java 在线编辑 - runjs|http://ideone.com 701 | js 在线编辑 - hcharts|http://code.hcharts.cn 702 | js 在线编辑 - jsdm|http://jsdm.com 703 | sql 在线编辑 - sqlfiddle|http://sqlfiddle.com 704 | mozilla 在线编辑器|https://thimble.mozilla.org 705 | 706 | 707 | 播放器 | 地址 708 | --- | --- 709 | Html5 VideoPlayer|https://github.com/zmmbreeze/DeadSimpleVideoPlayer 710 | 711 | 712 | 粒子动画 | 地址 713 | --- | --- 714 | Proton 烟花|http://a-jie.github.io/Proton/#example 715 | 716 | 717 | Nodejs | 地址 718 | --- | --- 719 | nodejs 篇幅比较巨大|http://liuqing.pw 720 | Node.js 包教不包会|https://github.com/alsotang/node-lessons 721 | 篇幅比较少|http://www.rainweb.cn/article/category/Nodejs 722 | node express 入门教程|http://www.w3cfuns.com/article-5598538-1-1.html 723 | nodejs定时任务|http://my.oschina.net/u/568264/blog/193773 724 | 一个nodejs博客|http://60sky.com 725 | 【NodeJS 学习笔记04】新闻发布系统|http://www.cnblogs.com/yexiaochai/p/3536547.html 726 | 过年7天乐,学nodejs 也快乐|http://www.cnblogs.com/qqloving/p/3541099.html 727 | 七天学会NodeJS|https://github.com/nqdeng/7-days-nodejs 728 | Nodejs学习笔记(二)--- 事件模块|http://www.cnblogs.com/zhongweiv/p/nodejs_events.html 729 | nodejs入门|http://www.cnblogs.com/liusuqi/p/3735491.html 730 | angularjs nodejs|https://github.com/zensh/jsgen 731 | 从零开始nodejs系列文章|http://blog.fens.me/series-nodejs 732 | 理解nodejs|http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb 733 | nodejs事件轮询|http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop 734 | node入门|http://www.nodebeginner.org/index-zh-cn.html 735 | nodejs cms|http://ourjs.com/detail/53e1f281c5910a9806000001 736 | Node初学者入门,一本全面的NodeJS教程|http://ourjs.com/detail/529ca5950cb6498814000005 737 | NodeJS的代码调试和性能调优|http://www.barretlee.com/blog/2015/10/07/debug-nodejs-in-command-line 738 | 739 | 740 | 常规优化|地址 741 | --- | --- 742 | Javascript高性能动画与页面渲染|http://www.infoq.com/cn/articles/javascript-high-performance-animation-and-page-rendering 743 | 移动H5前端性能优化指南|http://isux.tencent.com/h5-performance.html 744 | 5173首页前端性能优化实践|http://ued.5173.com/?p=1731 745 | 给网页设计师和前端开发者看的前端性能优化|http://www.uisdc.com/front-end-performance-for-web-designers-and-front-end-developers 746 | 复杂应用的 CSS 性能分析和优化建议|http://www.orzpoint.com/profiling-css-and-optimization-notes 747 | 张鑫旭——前端性能|http://www.zhangxinxu.com/wordpress/tag/%E5%89%8D%E7%AB%AF%E6%80%A7%E8%83%BD 748 | 前端性能监控总结|http://www.xiaoqiang.org/javascript/font-end-performance-monitor.html 749 | 网站性能优化之CSS无图片技术|http://udc.weibo.com/2013/05/%E7%BD%91%E7%AB%99%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E4%B9%8Bcss%E6%97%A0%E5%9B%BE%E7%89%87%E6%8A%80%E6%9C%AF 750 | web前端性能优化进阶路|http://www.aliued.cn/2013/01/20/web%E5%89%8D%E7%AB%AF%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E8%BF%9B%E9%98%B6%E8%B7%AF.html 751 | 前端技术:网站性能优化之CSS无图片技术|http://my.eoe.cn/tuwandou/archive/4544.html 752 | 浏览器的加载与页面性能优化|http://www.baiduux.com/blog/2011/02/15/browser-loading 753 | 页面加载中的图片性能优化|http://www.w3ctech.com/p/1503 754 | Hey——前端性能|http://www.feelcss.com/tag/%E5%89%8D%E7%AB%AF%E6%80%A7%E8%83%BD 755 | html优化|http://www.baiduux.com/blog/2010/03/15/html%E4%BC%98%E5%8C%96-2 756 | 99css——性能|http://www.99css.com/tag/%e6%80%a7%e8%83%bd 757 | Yslow——性能优化|http://www.yslow.net/category.php?cid=20 758 | YSLOW中文介绍|http://www.cnblogs.com/yslow 759 | 转一篇Yahoo关于网站性能优化的文章,兼谈本站要做的优化|http://www.360ito.com/article/40.html 760 | Yahoo!团队实践分享:网站性能|http://www.360doc.com/content/10/0928/09/2588264_56971287.shtml 761 | 网站性能优化指南:什么使我们的网站变慢?|http://blog.jiasule.com/i/153 762 | 网站性能优化实践,减少加载时间,提高用户体验|http://www.powereasy.net/helpyou/knowledge/ecommerce/9593.html 763 | 浅谈网站性能优化 前端篇|http://www.umtry.com/archives/747.html 764 | 前端重构实践之如何对网站性能优化?|http://www.adinnet.cn/blog/designview/2012-7-12/678.html 765 | 前端性能优化:使用媒体查询加载指定大小的背景图片|http://www.gbin1.com/technology/javascript/20130708-front-end-performance-optimization-9 766 | 网站性能系列博文|http://www.mykuer.com/post/factors-that-affect-the-speed-of-web-site-open.html 767 | 加载,不只是少一点点|http://tgideas.qq.com/webplat/info/news_version3/804/808/811/m579/201109/41355.shtml 768 | 前端性能的测试与优化|http://mzhou.me/article/95310 769 | 分享网页加载速度优化的一些技巧?|http://www.gbin1.com/technology/html/20130217-tips-for-speed-up-page-loading 770 | 页面加载中的图片性能优化|http://www.f2es.com/images-bytes-opt 771 | web前端优化(基于Yslow|http://www.tcreator.info/webSchool/website/Front-end-Opt-Yslow.html 772 | 网站性能优化工具大全|https://www.qianduan.net/website-performance-optimization-tool.html 773 | 【高性能前端1】高性能HTML|http://www.alloyteam.com/2012/10/high-performance-html 774 | 【高性能前端2】高性能CSS|http://www.alloyteam.com/2012/10/high-performance-css 775 | 由12306谈谈网站前端性能和后端性能优化|http://coolshell.cn/articles/6470.html 776 | AlloyTeam——前端优化|http://www.alloyteam.com/webfrontend/%E5%89%8D%E7%AB%AF%E4%BC%98%E5%8C%96 777 | 毫秒必争,前端网页性能最佳实践|http://www.cnblogs.com/developersupport/p/3248695.html 778 | 网站性能工具Yslow的使用方法|http://blog.sina.com.cn/s/blog_6e9d2e0701017kvu.html 779 | 前端工程与性能优化(上):静态资源版本更新与缓存|http://www.infoq.com/cn/articles/front-end-engineering-and-performance-optimization-part1 780 | 前端工程与性能优化(下):静态资源管理与模板框架|http://www.infoq.com/cn/articles/front-end-engineering-and-performance-optimization-part2 781 | HTTPS连接的前几毫秒发生了什么|http://blog.jobbole.com/48369 782 | Yslow|http://uicss.cn/yslow/#more-12319 783 | Essential Web Performance Metrics — A Primer, Part 1|http://blog.smartbear.com/web-performance/essential-web-performance-metrics-a-primer-part-1 784 | Essential Web Performance Metrics — Part 2|http://blog.smartbear.com/performance/essential-web-performance-metrics-part-2 785 | YUISlide,针对移动设备的动画性能优化|http://jayli.github.io/blog/data/2011/12/23/yuislide.html 786 | Improving Site Performance|http://joelglovier.com/improving-site-performance 787 | 让网站提速的最佳前端实践|http://segmentfault.com/a/1190000000367899 788 | Why Website Speed is Important|http://sixrevisions.com/web-development/why-website-speed-is-important 789 | Need for Speed – How to Improve your Website Performance|https://www.devbridge.com/articles/need-for-speed-how-to-improve-your-website-performance 790 | 阿里无线前端性能优化指南 (Pt.1 加载期优化 |https://github.com/amfe/article/issues/1 791 | 792 | 793 | 优化工具|地址 794 | --- | --- 795 | JavaScript 性能分析新工具 OneProfile|http://www.html-js.com/article/3083 796 | JavaScript 堆内存分析新工具 OneHeap|http://www.html-js.com/article/3091 797 | 798 | 799 | 在线工具|地址 800 | --- | --- 801 | google在线工具|https://developers.google.com/speed/pagespeed/insights 802 | 阿里测|http://www.alibench.com 803 | 阿里-免费测试服务|http://itest.aliyun.com 804 | 阿里-F2etest多浏览器兼容性测试解决方案|https://github.com/alibaba/f2etest 805 | js性能测试|http://jsperf.com 806 | 807 | 808 | 前端架构|地址 809 | --- | --- 810 | 技术架构|http://www.zhihu.com/topic/19612641 811 | 前端架构|http://saito.im/note/The-Architecture-of-F2E 812 | 如何成为前端架构师|http://www.zhihu.com/question/24092572 813 | 关于前端架构-张克军|http://hikejun.com/sharing/2010webrebuild/?file=fe-infrastructure.html 814 | 百度腾讯offer比较(腾讯游戏VS百度基础架构)|http://www.zhihu.com/question/25583350 815 | 816 | 817 | 推荐作品|地址 818 | --- | --- 819 | winter代码片段需要FQ|https://gist.github.com/wintercn 820 | fgm|http://www.fgm.cc/learn 821 | 岑安作品集|https://github.com/hongru/hongru.github.com 822 | 当耐特demo集合|http://kmdjs.github.io 823 | 米空格 js作品|http://www.laoshu133.com/Lab 824 | myFocus|http://koen301.github.io 825 | SeaJS组件库|http://panxuepeng.github.io/seajslib 826 | 颜海镜作品|http://yanhaijing.com/myProject 827 | 脚儿网作品|http://jo2.org/category/myworks 828 | javascript个人作品|http://www.cnitblog.com/yemoo/category/3107.html 829 | 妙味的雷东升游戏作品|http://bbs.miaov.com/forum.php?mod=viewthread&tid=7790 830 | javascript作品集|http://bbs.csdn.net/topics/380227212 831 | 云五笔,灰度产生生成工具|https://github.com/TooBug/works 832 | 项目主页|http://koen301.github.io 833 | 个性的作品主页|http://zaole.net 834 | 播放器|http://static.tingall.com/v2/player 835 | ucren js demos 集|http://ucren.com/blog/demos 836 | 智能社|http://www.zhinengshe.com/works_list.html 837 | 实例陈列架|http://demos.shizuwu.cn 838 | zoye demo|http://zoye.sinaapp.com/demo 839 | 王员外|http://lab.yuanwai.wang 840 | 平凡|http://pingfan1990.sinaapp.com 841 | jyg 游戏案例|http://www.lovewebgames.com 842 | 很多jquery插件|http://www.helloweba.com/list.html 843 | 不羁虫 - soJs 作品系列|http://www.bujichong.com/sojs/api/index.html 844 | frozenui|http://frozenui.github.io/case.html 845 | 黑白棋|http://js-game.github.io/othello 846 | fromone|http://yansm.github.io/fromone/index.html 847 | 848 | 849 | 国外大牛精品|地址 850 | --- | --- 851 | pazguille|http://pazguille.me 852 | 853 | 854 | 简历模板|地址 855 | --- | --- 856 | 不错的个人简历|http://learnshare.github.io/about/index.html 857 | 简历|http://hcy2367.github.io/resume 858 | 张伦|http://ncuey.sinaapp.com/CrispElite/ 859 | 简历|https://github.com/hacke2/ResumeSample 860 | 翁天信|http://blog.dandyweng.com/2013/07/how-my-website-was-created 861 | 动画方式的简历|http://www.webhek.com/misc/interactive-resume 862 | 组件丰富简历|http://www.linqing07.com/resume.html 863 | 简历池|http://www.mojianli.com/resume/view 864 | haorooms博客|http://www.haorooms.com/about 865 | Justin Young|http://cv.youngdze.com 866 | 867 | 868 | 面试题|地址 869 | --- | --- 870 | 那几个月在找工作(百度,网易游戏)|http://www.nowcoder.com/discuss/3196 871 | 2014最新面试题|http://www.html-js.com/article/1743 872 | 2016校招内推 -- 阿里巴巴前端 -- 三面面试经历 |http://www.cnblogs.com/imwtr/p/4685546.html 873 | 年后跳槽那点事:乐视+金山+360面试之行|http://www.cnblogs.com/lvdabao/p/3660707.html 874 | 阿里前端面试题上线|http://fatesinger.com/2722.html 875 | 拉勾网js面试题|http://www.cnblogs.com/52cik/p/js-question-lg.html 876 | 前端面试|http://www.cnblogs.com/allenxing/p/3724382.html 877 | Web开发笔试面试题 大全|http://mianshiti.diandian.com 878 | 2014最新前端面试题|https://github.com/markyun/My-blog/tree/master/Front-end-Developer-Questions 879 | 百度面试|https://github.com/fex-team/interview-questions 880 | 面试题|http://www.w3cfuns.com/forum.php?mod=forumdisplay&fid=51&filter=typeid&typeid=177 881 | 前端工作面试问题|https://github.com/h5bp/Front-end-Developer-Interview-Questions 882 | 5个经典的前端面试问题|http://ourjs.com/detail/5%E4%B8%AA%E7%BB%8F%E5%85%B8%E7%9A%84%E5%89%8D%E7%AB%AF%E9%9D%A2%E8%AF%95%E9%97%AE%E9%A2%98 883 | 如何面试一名前端开发工程师?|http://www.html-js.com/article/Large-search-front-team-column%202961 884 | 前端实习生面试总结 |http://www.cnblogs.com/xiaoruo/p/4665163.html 885 | BAT及各大互联网公司2014前端笔试面试题:JavaScript篇|http://blog.jobbole.com/78738 886 | 前端开发面试题大收集|https://github.com/paddingme/Front-end-Web-Development-Interview-Question 887 | 收集的前端面试题和答案|https://github.com/qiu-deqing/FE-interview 888 | 如何面试前端工程师|http://www.zhihu.com/question/19568008 889 | 前端开发面试题|https://github.com/markyun/My-blog/blob/master/Front-end-Developer-Questions/Questions-and-Answers/README.md 890 | 牛客网-笔试面经|http://www.nowcoder.com/discuss?type=2 891 | 892 | 893 | iconfont|地址 894 | --- | --- 895 | 中文字体|http://www.zhihu.com/question/21253343 896 | 淘宝字库|http://iconfont.cn 897 | 字体|http://mux.alimama.com/fonts 898 | 制作教程|http://iconfont.cn/help/platform.html 899 | zhangxinxu-icommon|http://www.zhangxinxu.com/wordpress/?s=icomoon 900 | icommon|https://icomoon.io/app 901 | 用字体在网页中画ICON图标(推荐教程|http://imooc.com/learn/243 902 | 字体压缩工具|http://font-spider.org 903 | 904 | 905 | 前端开发工具|地址 906 | --- | --- 907 | IntelliJ IDEA 简体中文专题教程|https://github.com/judasn/IntelliJ-IDEA-Tutorial 908 | Webstorm,InterllIdea,Phpstorm|http://t.cn/8kZZ1Uy 909 | SublimeText|https://github.com/jikeytang/sublime-text 910 | Atom|https://atom.io 911 | visual studio code|https://code.visualstudio.com 912 | 913 | 914 | Fiddler|地址 915 | --- | --- 916 | Fiddler调式使用知多少(一深入研究|http://www.cnblogs.com/tugenhua0707/p/4623317.html 917 | 微信fiddle|http://www.cnblogs.com/strick/p/4570006.html 918 | 微信fiddle|http://gaoboy.com/article/26.html 919 | 920 | 921 | Chrome|地址 922 | --- | --- 923 | Google Chrome 官方|https://developer.chrome.com/devtools 924 | Chrome - 基础|http://www.cnblogs.com/constantince/p/4565261.html 925 | Chrome - 进阶|http://www.cnblogs.com/constantince/p/4579121.html 926 | Chrome - 性能|http://www.cnblogs.com/constantince/p/4585983.html 927 | Chrome - 性能进阶|http://www.cnblogs.com/constantince/p/4607497.html 928 | Chrome - 移动|http://www.cnblogs.com/constantince/p/4624241.html 929 | Chrome - 使用技巧|http://www.cnblogs.com/liyunhua/p/4544738.html 930 | Chrome - Console控制台不完全指南|http://www.cnblogs.com/Wayou/p/chrome-console-tips-and-tricks.html 931 | Chrome - Workspace使浏览器变成IDE|http://c7sky.com/chrome-devtools-workspace.html 932 | network面板|http://www.html-js.com/article/Nothing-blind%202975 933 | chrome开发工具快捷键|http://anti-code.com/devtools-cheatsheet 934 | chrome调试工具常用功能整理|http://www.html-js.com/article/2327 935 | Chrome 开发工具 Workspace 使用|http://www.iinterest.net/2014/05/09/chrome-dev-tool-workspace 936 | Chrome神器Vimium快捷键学习记录 |http://www.cppblog.com/deercoder/archive/2011/10/22/158886.html 937 | sass调试-w3cplus|http://www.w3cplus.com/sassguide/debug.html 938 | 如何更专业的使用Chrome开发者工具-w3cplus|http://www.w3cplus.com/tools/how-to-use-chrome-devtools-like-a-pro.html 939 | chrome调试canvas|http://sentsin.com/web/253.html 940 | chrome profiles1|https://developer.chrome.com/devtools/index 941 | chrome profiles2|http://h5dev.uc.cn/article-25-1.html 942 | chrome profiles3|http://www.oschina.net/translate/performance-optimisation-with-timeline-profiles 943 | chrome移动版调试|https://developer.chrome.com/devtools/docs/mobile-emulation 944 | chrome调试|http://ued.taobao.org/blog/2012/06/debug-with-chrome-dev-tool 945 | chrome的调试|http://www.cnblogs.com/QLeelulu/archive/2011/08/28/2156402.html 946 | chrome console 命令详解|https://developer.chrome.com/devtools/docs/commandline-api 947 | 查看事件绑定1|http://www.cnblogs.com/leonkao/p/3809655.html 948 | 查看事件绑定2|http://www.cnblogs.com/xiaoyao2011/p/3447421.html 949 | 神器——Chrome开发者工具(一|http://segmentfault.com/a/1190000000683599 950 | 奇趣百科性能优化(Chrome DevTools 中的 Timeline Profils 等工具使用介绍|https://xinranliu.me/2015-05-22-qiqu-performance 951 | chrome 开发者工具的 15 个小技巧|http://frontenddev.org/link/15-tips-of-chrome-developer-tools.html 952 | Chrome开发者工具不完全指南|http://1ke.co/course/361 953 | Chrome 开发者工具使用技巧|http://segmentfault.com/a/1190000003882567 954 | 955 | 956 | Firebug|地址 957 | --- | --- 958 | firebug视频教程|http://www.imooc.com/learn/137 959 | firefox 模拟器|https://developer.mozilla.org/zh-CN/docs/Tools/WebIDE 960 | console.log 命令详解|http://www.cnblogs.com/ctriphire/p/4116207.html 961 | Firebug入门指南|http://www.ruanyifeng.com/blog/2008/06/firebug_tutorial.html 962 | Firebug控制台详解|http://www.ruanyifeng.com/blog/2011/03/firebug_console_tutorial.html 963 | 964 | 965 | 移动,微信调试|地址 966 | --- | --- 967 | 浏览器端调试安卓|https://openstf.github.io 968 | 移动端前端开发调试|http://yujiangshui.com/multidevice-frontend-debug 969 | 使用 Chrome 远程调试 Android 设备|https://github.com/yujiangshui/CN-Chrome-DevTools/blob/remote-debugging/md/Use-Tools/remote-debugging.md 970 | mac移动端调试|http://plus.uc.cn/document/webapp/doc5.html 971 | mac移动端调试|http://www.mihtool.com 972 | 无线调试攻略|http://thx.github.io/mobile/debugging-in-mobile 973 | 无线调试攻略|http://yanhaijing.com/mobile/2014/12/17/web-debug-for-mobile 974 | 屌爆了,完美调试 微信webview(x5|http://www.jianshu.com/p/ccf124f1f74b 975 | 微信调试的那些事|http://liyaodong.com/2015/07/06/%E5%BE%AE%E4%BF%A1%E8%B0%83%E8%AF%95%E7%9A%84%E9%82%A3%E4%BA%9B%E4%BA%8B 976 | 远程console|http://jsconsole.com 977 | 微信调试工具|http://blog.qqbrowser.cc 978 | 各种真机远程调试方法汇总|https://github.com/jieyou/remote_inspect_web_on_real_device 979 | 980 | 981 | iOS Simulator|地址 982 | --- | --- 983 | Simulator|https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Introduction/Introduction.html 984 | Xcode中的iOS模拟器(iOS Simulator的介绍和使用心得|http://www.crifan.com/intro_ios_simulator_in_xcode_and_usage_summary 985 | 986 | 987 | img|地址 988 | --- | --- 989 | loading img|http://preloaders.net/en/circular 990 | 智图-图片优化平台|http://zhitu.isux.us 991 | 在线png优化|https://tinypng.com 992 | 993 | 994 | 生成二维码|地址 995 | --- | --- 996 | 生成二维码|http://cli.im 997 | 998 | 999 | 浏览器同步|地址 1000 | --- | --- 1001 | puer|https://github.com/leeluolee/puer 1002 | liveReload|http://livereload.com 1003 | f5|http://getf5.com 1004 | File Watchers|http://geek100.com/2608 1005 | 1006 | 1007 | 在线PPT制作|地址 1008 | --- | --- 1009 | nodePPT|http://js8.in/2013/11/16/%E6%8E%A8%E8%8D%90nodeppt%EF%BC%9A%E4%BD%BF%E7%94%A8markdown%E8%AF%AD%E6%B3%95%E6%9D%A5%E5%86%99%E7%BD%91%E9%A1%B5ppt 1010 | PPT|https://github.com/ksky521/nodePPT 1011 | reveal|https://github.com/hakimel/reveal.js 1012 | slippy|https://github.com/Seldaek/slippy 1013 | 1014 | 1015 | 前端导航网站|地址 1016 | --- | --- 1017 | 界面清爽的前端导航|http://uxbees.com/index.html 1018 | 前端导航|http://whycss.com 1019 | 前端网址导航|http://www.daqianduan.com/nav 1020 | 前端名录|http://sentsin.com/daohang 1021 | 前端导航|http://123.jser.us 1022 | 前端开发资源|http://www.css88.com/nav 1023 | 网址导航|http://www.haourl.cn 1024 | 前端开发仓库 - 众多效果的收集地|http://code.ciaoca.com 1025 | 前端资源导航|https://github.com/jnoodle/f2e-collect 1026 | F2E 前端导航|http://f2e.im/static/pages/nav/index.html 1027 | 1028 | 1029 | 常用CDN|地址 1030 | --- | --- 1031 | 新浪CDN|http://lib.sinaapp.com 1032 | 百度静态资源公共库|http://cdn.code.baidu.com 1033 | 360网站卫士常用前端公共库CDN服务|http://libs.useso.com 1034 | Bootstrap中文网开源项目免费 CDN 服务|http://www.bootcdn.cn 1035 | 开放静态文件 CDN - 七牛|http://staticfile.org 1036 | CDN加速 - jq22|http://www.jq22.com/cdn 1037 | jQuery CDN|http://code.jquery.com 1038 | Google jQuery CDN|http://www.google-jquery-cdn.com 1039 | 微软CDN|http://www.asp.net/ajax/cdn 1040 | 1041 | 1042 | Git|地址 1043 | --- | --- 1044 | git-scm|http://git-scm.com 1045 | 廖雪峰-Git教程|http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 1046 | git-for-windows|https://git-for-windows.github.io 1047 | GitHub 添加 SSH keys|http://daemon369.github.io/git/2015/03/10/add-ssh-keys-for-github 1048 | gogithub|http://www.worldhello.net/gotgithub/index.html 1049 | git常规命令练习|http://pcottle.github.io/learnGitBranching 1050 | git的资料整理|https://github.com/xirong/my-git 1051 | 我所记录的git命令(非常实用)|http://www.cnblogs.com/fanfan259/p/4810517.html 1052 | 企业开发git工作流模式探索部分休整|https://github.com/xirong/my-git/blob/master/git-workflow-tutorial.md 1053 | GitHub 漫游指南|https://github.com/phodal/github-roam 1054 | GitHub秘籍|https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.zh-cn.md 1055 | 使用git和github进行协同开发流程|http://livoras.com/post/28 1056 | 动画方式练习git|http://onlywei.github.io/explain-git-with-d3 1057 | 1058 | 优秀JavaScript项目 | 地址 1059 | --- | --- 1060 | Angular和Webpack种子文件|https://github.com/AngularClass/angular2-webpack-starter 1061 | Fis3面向前端的工程构建系统|https://github.com/fex-team/fis3 1062 | Fis3 DEMO|https://github.com/fex-team/fis3-demo 1063 | 前端JQuery系列:源码剖析|https://github.com/JsAaron/jQuery 1064 | avalon框架|https://github.com/RubyLouvre/avalon 1065 | Microsoft ChakraCore 微软的Chakra引擎|https://github.com/Microsoft/ChakraCore 1066 | Quintus HTML游戏引擎|https://github.com/cykod/Quintus 1067 | 一个用node.js搭建的有趣博客|https://github.com/STRML/strml.net 1068 | Web前端助手--FeHelper(Chrome扩展)|https://github.com/zxlie/FeHelper 1069 | 百度前端技术学院|https://github.com/baidu-ife/ife 1070 | Cheerio(node.js中的jQuery)|https://github.com/cheeriojs/cheerio 1071 | nodejs的一个聊天软件 类似微信|https://github.com/BryanYang/freechat 1072 | 使用html5和node.js构建的网易云音乐|https://github.com/stkevintan/Cube 1073 | babel ES6转换为ES5|https://github.com/babel/babel 1074 | 一个JS富文本编辑器|https://github.com/fex-team/ueditor 1075 | 一个JS脑图可视化工具|https://github.com/fex-team/kityminder-core 1076 | 一个JS写的Flappy Bird Game|https://github.com/ellisonleao/clumsy-bird 1077 | 一个JS写的GBA模拟器|https://github.com/taisel/IodineGBA 1078 | SegmentFault写的Markdown解析器|https://github.com/SegmentFault/HyperDown.js 1079 | 基于node.js的Ghost博客|https://github.com/TryGhost/Ghost 1080 | 学习react的demos|https://github.com/ruanyf/react-demos 1081 | 1082 | -------------------------------------------------------------------------------- /base.md: -------------------------------------------------------------------------------- 1 | ``` 2 | 这里的文档很重要, 3 | 你可以在这里看到前端相关代码规范、开发规范、开发流程等, 4 | 如果你是新人,务必看完, 5 | 如果你是老员工,务必按这里的约定执行。 6 | ``` 7 | ## 技术选型 8 | 9 | + 核心框架:[Vue](https://cn.vuejs.org/v2/guide/) 10 | + 状态管理:[Vuex](https://vuex.vuejs.org/zh-cn/intro.html) 11 | + 路由映射:[vue-router](https://router.vuejs.org/zh-cn/) 12 | + 模拟数据:[mock.js](http://mockjs.com/) 13 | + UI组件库:[Muse-UI](https://museui.github.io/#/index),[Element](http://element.eleme.io/#/zh-CN/component/quickstart) 14 | + HTTP请求库:[axios](https://github.com/mzabriskie/axios) 15 | + CSS的预处理框架: [Stylus](http://stylus-lang.com/),[中文文档](http://www.zhangxinxu.com/jq/stylus/),[sass](http://sass.bootcss.com/) 16 | + 资源加载打包工具:[Webpack](https://webpack.github.io/) 17 | + 代码规范工具:[eslint](http://eslint.org/) 18 | + 单元测试 [vue-test-utils](https://vue-test-utils.vuejs.org/zh-cn/) 19 | + 其他:[ES6](https://wohugb.gitbooks.io/ecmascript-6/content/index.html),[node.js](https://nodejs.org/en/),[npm](https://www.npmjs.com/),[alias](https://webpack.js.org/configuration/resolve/) 20 | 21 | 22 | ## 代码规范 23 | 24 | + [HTML规范](./html.md) 25 | + [CSS规范](./css.md) 26 | + [JS规范一(语法&格式篇)](./js.md) 27 | + [JS规范二(base)](./js-base.md) 28 | 29 | ## 前后端接口规范 30 | + [JSON-API](./json-api.md) 31 | 32 | ## 文件命名规范 33 | + [文件命名规范](./文件命名规范.md) 34 | -------------------------------------------------------------------------------- /css.md: -------------------------------------------------------------------------------- 1 | # CSS代码规范 2 | 3 | ## 语言规范 4 | 5 | 1. 样式文件中不要出现大写的标签定义, 不要对 JS 钩子进行样式定义。 6 | 7 | 2. 避免出现`.a.b`之类的定义, 如果做`hack`使用请注明。 ( ie6 不支持此定义 ) 8 | 9 | 3. 稀奇古怪的`hack`请加注释。 10 | 11 | 4. 避免使用`!important`, 如果必须请加注释。 12 | 13 | 5. 缩进以4个空格为基本单位[[参考]](http://www.cnblogs.com/kungfupanda/archive/2012/09/05/2671597.html)。 14 | 15 | 6. 样式使用竖排, 不要使用横排以及 n 级缩进等。 16 | 17 | 7. 对于所有`hack`请放到每个样式定义的最后边。 18 | 19 | 8. class selector 层级尽量控制在 5 层以内。 20 | 21 | 9. 严格控制 `important` 关健字的使用场景,尽量少用。 22 | 23 | ## CSS 命名规则 24 | 25 | 1. 样式类名全部用小写,首字符必须是字母,禁止数字或其他特殊字符。由以字母开头的小写 26 | 字母`(a-z)`、数字`(0-9)`、中划线 `(-)`组成。 27 | 28 | 2. 可以是单个单词,也可以是组合单词,要求能够描述清楚模块和元素的含义,使其具有语义 29 | 化。避免使用 `123456…,red,blue,left,right`之类的(如颜色、字号大小等)矢量命名 30 | ,如`class="left-news"、class="2"` ,以避免当状态改变时名称失去意义。尽量用单个 31 | 单词简单描述`class`名称。 32 | 33 | 3. 双单词或多单词组合方式:形容词-名词、命名空间-名次、命名空间-形容词-名词。例如: 34 | `news-list、mod-feeds、mod-my-feeds、cell-title` 35 | 36 | ## 通用命名 37 | 38 | 1. 页面框架命名,一般具有唯一性,推荐用ID命名 39 | 40 | ID名称|命名|ID名称 |命名 41 | :---------------|:---------------|:---------------|:--------------- 42 | 头部|header|主体| main 43 | 脚部|footer|容器|wrapper 44 | 侧栏|sidebar|栏目|column 45 | 布局|layout|| 46 | 47 | 2. 模块结构命名 48 | 49 | Class名称|命名|Class名称|命名 50 | :---------------|:---------------|:---------------|:--------------- 51 | 模块(如:新闻模块) |mod (mod-news) |标题栏 |title 52 | 内容 |content |次级内容 |sub-content 53 | 54 | 3. 导航结构命名 55 | 56 | Class名称|命名|Class名称|命名 57 | :---------------|:---------------|:---------------|:--------------- 58 | 导航 |nav |主导航 |main-nav 59 | 子导航| sub-nav |顶部导航 |top-nav 60 | 菜单 |menu |子菜单 |sub-menu 61 | 62 | 4. 一般元素命名 63 | 64 | Class名称|命名|Class名称|命名 65 | :---------------|:---------------|:---------------|:--------------- 66 | 二级| sub |面包屑| breadcrumb 67 | 标志 |logo |广告 |bner(禁用banner或ad) 68 | 登陆 |login |注册 |register/reg 69 | 搜索 |search |加入 |join 70 | 状态 |status |按钮 |btn 71 | 滚动 |scroll |标签页 |tab 72 | 文章列表 |list| 短消息| msg/message 73 | 当前的 |current |提示小技巧 |tips 74 | 图标 |icon| 注释| note 75 | 指南 |guide |服务 |service 76 | 热点 |hot |新闻 |news 77 | 下载 |download |投票 |vote 78 | 合作伙伴 |partner |友情链接 |link 79 | 版权| copyright| 演示| demo 80 | 下拉框 |select |摘要 |summary 81 | 翻页 |pages| 主题风格| themes 82 | 设置 |set |成功| suc 83 | 按钮 |btn| 文本| txt 84 | 颜色 |color/c| 背景 |bg 85 | 边框 |border/bor| 居中| center 86 | 上 |top/t |下| bottom/b 87 | 左 |left/l |右 |right/r 88 | 添加 |add |删除 |del 89 | 间隔 |sp| 段落 |p 90 | 弹出层 |pop |公共 |global/gb 91 | 操作| op |密码 |pwd 92 | 透明 |tran| 信息 |info 93 | 重点 |hit |预览 |pvw 94 | 单行输入框| input| 首页 |index 95 | 日志 |blog |相册| photo 96 | 留言板 |guestbook| 用户| user 97 | 确认 |confirm |取消 |cancel 98 | 报错 |error|| 99 | 100 | 5. 全局皮肤样式 101 | 102 | 文字颜色(命名空间text-xxx) 103 | 104 | ``` 105 | text-c1, text-c2,text-c3…… 106 | ``` 107 | 108 | 背景颜色(命名空间bg -xxx) 109 | 110 | ``` 111 | bg-c1,bg-c2,bg-c3…… 112 | ``` 113 | 114 | 边框颜色(命名空间border-xxx) 115 | 116 | ``` 117 | border-c1,border-c2,border-c3…… 118 | ``` 119 | 120 | ## 属性使用 121 | 122 | 1. z-index 123 | 124 | ``` 125 | //右侧导航: 100-109 126 | //弹窗: 110-119 127 | //顶部: 90-99 128 | //搜索: 80-89 129 | //导航: 70-79 130 | //主内容: 50-59 131 | //底部: 40-49 132 | ``` 133 | 134 | 2. css属性使用缩写。 135 | 136 | **(╳)** 137 | ```css 138 | padding-top: 1px; 139 | padding-right: 2px; 140 | padding-bottom: 3px; 141 | padding-left: 4px; 142 | ``` 143 | **(√)** 144 | ```css 145 | padding: 1px 2px 3px 4px; 146 | ``` 147 | 148 | 3. 0不带单位 (动画0%除外)。 149 | 150 | **(√)** 151 | ```css 152 | margin: 0; 153 | font-size: 0; 154 | ``` 155 | 156 | **(╳)** 157 | ```css 158 | margin: 0px; 159 | font-size: 0px; 160 | ``` 161 | 162 | 4. 使用简写的十六进制值。 163 | 164 | **(√)** 165 | 166 | ```css 167 | color: #edf; 168 | ``` 169 | 170 | **(╳)** 171 | 172 | ```css 173 | color: #eeddff; 174 | ``` 175 | 176 | 5. `border`以 `width, style, color` 的顺序书写, `width`单位使用 `px/rem`, 例如: 177 | 178 | ```css 179 | border: 1px solid #000; 180 | border-top: 1px solide #000; 181 | border-top-color: red; 182 | border: 0; 183 | ``` 184 | 185 | 6. `background:`以`color, image, repeat, position`的顺序来书写, `url`省略引号, 例如: 186 | 187 | ```css 188 | background:#003 url(http://www.taobao.com/loading.png) no-repeat 0 0; 189 | background-color:red; 190 | ``` 191 | 192 | 7. 尽量不使用 CSS expression, 大量使用时性能较差, 应尽量避免使用。 193 | 194 | 8. CSS属性书写顺序参考: 195 | 196 | ``` 197 | 位置属性(position, top, right, z-index, display, float等) 198 | 大小(width, height, padding, margin) 199 | 文字系列(font, line-height, letter-spacing, color- text-align等) 200 | 背景(background, border等) 201 | 其他(animation, transition等) 202 | display 203 | float 204 | position 205 | z-index 206 | width 207 | height 208 | overflow 209 | left(right) 210 | top(bottom) 211 | text-xxx 212 | font-xxx 213 | color 214 | border 215 | background 216 | cursor 217 | ``` 218 | 219 | 9. 为了节省图片的开销,有时候小三角形可以用css border来生成, 看看本规范里面小三角按钮[[参考]](http://ued.taobao.com/blog/2010/08/css-border%E4%BD%BF%E7%94%A8%E5%B0%8F%E5%88%86%E4%BA%AB/): 220 | 221 | ## 注释规范 222 | 223 | 1. 文件头注释: 224 | 225 | ```css 226 | /** 227 | * Style for module header. 228 | * @author djune 229 | * @version 1.0.0 build 2010-12-8 230 | * @modified xxx 2011-2-18 231 | */ 232 | ``` 233 | 234 | 2. 对于html模块需要加注释。 235 | 236 | 3. 奇葩点的 hack 要加注释。 237 | 238 | ```css 239 | background-color: transparent; /* flexible background gradient */ 240 | font-family: serif; /* text floating bug in ie6 */ 241 | ``` 242 | 243 | 4. 修改别人的 CSS 请添加注释 244 | 245 | ```css 246 | /* 主要修改IE8浏览器兼容性问题 djune 2013-09-26 13:21 */ 247 | ``` 248 | 249 | ## CSS Module (模块定义) 250 | 251 | 通常我们的页面模块html结构可以写成这样(.hd, .bd, .ft): 252 | 253 | 通过语义化含义判断我们的结构具体怎么分配到这三个基本结构。 254 | 255 | html: 256 | 257 | ```html 258 |
some description text
' + 57 | '